Copyright © 2018 Bytellect LLC. All Rights Reserved.
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.
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.
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:
Learn how to use Visual Studio 2015 to create and link to your own reusable function libraries.
Learn how to use Visual Studio 2013 to create and link to your own reusable function libraries.
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.
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.
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.
Here is a handy one-page guide that explains the valid format conversion specifiers accepted by the scanf C library function.
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.