2.11 — Header files

In lesson , we discussed how programs can be split across multiple files. We also discussed how forward declarations are used to allow the code in one file to access something defined in another file. When programs contain only a few small files, manually adding a few forward declarations to …

6 ways to write better code

There was an article linked from Digg posted up a couple days ago entitled “6 ways to write better code”. It’s pretty good advice (for the most part), so I thought I’d link it here. http://www.ibm.com/developerworks/linux/library/l-clear-code/index.html?ca=drs- Here are the recommendations of the author, along with my own comments: 1) Comment …