Copyright © 2018 Bytellect LLC. All Rights Reserved.


Useful Resources

Here we provide several useful resources, which many of our training and consulting clients have found useful — tutorials, whitepapers, tables, etc. If you’d like to be notified whenever we add new resources to this page, subscribe to our mailing list. If you have a comment or suggestion about one or more of these resources, please let us know.


Resources for Software Developers

Sorting in C with the qsort Function

The C standard library’s qsort function can be used to sort arrays containing any type of data. Learn how to write the comparison functions required by qsort for a variety of data types — from simple signed integers to strings to C structures. Avoid costly copying of data by sorting arrays of pointers to the data, rather than arrays containing the data itself.


Creating a C Library in Visual Studio 2017

When you find yourself reusing your C functions across multiple projects, it’s time to wake up from the error-prone cut-and-paste nightmare — place your functions in a reusable library. Learn how to use Visual Studio 2017 to create and link to your own reusable function libraries. The procedure has changed slightly in Visual Studio 2017.

Find instructions for some earlier Visual Studio versions below:

Creating a C Library in Visual Studio 2015

Learn how to use Visual Studio 2015 to create and link to your own reusable function libraries.

Creating a C Library in Visual Studio 2013

Learn how to use Visual Studio 2013 to create and link to your own reusable function libraries.


Random Numbers in C

Generating random numbers — whether for games or simulations or sampling — is not as straightforward as it first seems. The standard rand and srand library functions in C are often misunderstood. Learn what to expect from them, and know their limitations.


Pointers vs Array Names in C

In the C programming language, pointers and array names have a very close relationship, but they are not the same. Learn how they are similar and how they are different.


The C printf Fact Sheet

Everything you wanted to know about the printf C library function, including character escape sequences, format conversion specifiers, the minimum field-width specifier, the precision modifier, left justification, short and long modifiers, and dynamic output control — all in two pages, that can be printed back-to-back on a single handy sheet.


The C scanf Fact Sheet

Here is a handy one-page guide that explains the valid format conversion specifiers accepted by the scanf C library function.


Setting the Compiler Warning Level in Visual Studio 201x

The default warning level in Visual Studio C and C++ projects doesn’t show you everything. We recommend changing the warning level, to get as much help from the compiler as possible. These instructions apply the C and C++ programming languages in Visual Studio 2013, 2015, and 2017.



More Recommended Reading...