When is a global not a global? When it’s a static variable. This post, and the next three, will talk about static variables. Let’s start with static variables declared in a file. Static variables in a file If you declare a static variable at file level (i.e. not inside any other code), then you are […]
In a NutshellI write handy little guides to GDB, C and C++, and occasionally some Linux stuff for fun.