A list of C’s predefined macros (__FILE__, __LINE__, __STDC__…) with description and an example of how to use them. __FILE__ – a string that holds the path/name of the compiled file;__LINE__ – an integer that holds the number of the current line number;__DATE__ – a string that holds the current system date;__TIME__ – a string that holds the current […]
Analyzes the C code for a simple ‘Hello World’ application to give you some familiarity with the language and the way it works. C is not such a current language anymore, it was replaced by C++ long ago and recently C++ is being replaced by the .NET Framework. If I would stop the paragraph right […]
Generate the Fibonacci sequence for the specified amount of numbers, using a C function.
A guide to the famous printf() function in C. Shows you how to output data in several ways. The tutorial is not yet complete but will be continued soon.
Generate random ints, floats, and doubles with ease.
A quick guide to C pointers for people having trouble with the concepts involved.