Printing GCC’s Predefined Macros
Almost every C/C++ compiler (preprocessor, to be precise) has several object-like macros that are predefined. You use them without supplying their definitions. They often can help you figure out for...
View ArticleFrom Switch Statement Down to Machine Code
Most of us know what a switch statement is and have probably been using it very often in the code. No wonder why — switch statement is simple yet extremely expressive. It allows keeping the code...
View ArticleAutomatic Resource Management in Programming Languages
Many high-level programming languages provide software developers with the ability to automatically cleanup resources — automatically closing an open file when it is no longer used, freeing dynamically...
View Article
More Pages to Explore .....