by Joel Limardo
Home | Twitter | LinkedIn | Consulting | About | RSS | Map
Areas:
Process
 
Technical
 
Projects:


Wed, 18 Jan 2017

Learn C

Learning C can be a pain because virtually every resource tries to dumb it down. You then think you know the language, crack open a program, and are almost instantly lost. Here I'm attempting to show techniques actually used in real programs.



posted at: 22:55 | path: /technical/C | this entry | top

Linking Headers

Headers can get big. The bigger they are the more you will want to separate the code portion from the method declarations. You can do this is C by putting the code in a file with a C extension and the declarations in a header file with the normal header extension.

Here is an example:

There are several ways to compile this and link it. I just used the easiest one for now.



posted at: 22:26 | path: /technical/C | this entry | top

© 2015-2017. All Rights Reserved. All original code appearing on this site is MIT Licensed unless otherwise noted.