They called him Pavel
The programming life of that guy you searched for...
Monday, August 08, 2011
Conditional compilation
Very neat feature in my opinion. By using different conditions, such as #if, #ifdef, #ifndef and so on, you get much more control over what you want to do with your code, which files to use and select which code to run depending on the platform you're working on.
Macros
A very neat, useful, efficient and flexible way of coding in C is using macros. #define something with capital letters (naming convention used for macros to stand out within the code), write the code to be executed when calling the macro - and you're golden! There are drawbacks like unpredictable macro behavior (depends on the code used...++i?), however a careful use of macros can save you a lot of time and typing :)
Studying for finals
So I started studying for finals, going over the material we learned throughout the semester. OOP was the subject of choice to start from. I figured I'll start posting thoughts on topics I cover in my reviews as I go along.
Thursday, July 14, 2011
Subscribe to:
Posts (Atom)