Quickie: Configuration Headers

We all know (or at least we should know) that we can use #define to create macros that replace names with values during the preprocessor phase of compilation. Sometimes, it's very important for us to have the ability to change large amounts of code very quickly, because we have a new size limit for

Quickie: Why Java Has No Headers

Ever noticed that Java has no header files? Instead, Java uses one file to store each public class and its functions. Why would they require each class to have its own file? It's a question of simplicity for the Java designers. The Java precompiler (as it were) builds class symbols using the file names, which

Quick Tips for Making Headers

In the world of C/C++, we use headers extensively. The basic rule is that C/CPP files contain code that becomes binaries, and H files contain the interfaces that allow us to reference them in other C files. Any program more complex than a calculator will likely contain multiple C files that are combined into

Linux + C – Structures, Switches, and Your First Header

This will be a bit of a longer section, because I couldn't think of a fun way to write the code otherwise. Bonus! Structures A structure is a data element defined by the programmer which contains several member data elements. We define these structures to allow ourselves to handle a set of related data much more