??? 03/02/11 13:22 Read: times |
#181389 - correction Responding to: ???'s previous message |
Is it a concept of avoiding global variables by having everything in a single global struct instead - or maybe a "hidden" struct that gets accessed through a pointer?
Is it a concept of circumventing avoiding global variables by having everything in a single global struct instead - or maybe a "hidden" struct that gets accessed through a pointer such values are still global, just not 'officially' so. I have seen this many times and it is a typical example of "the letter of the law" instead of "the intent of the law" Erik |
Topic | Author | Date |
Multiple public definitions in code banking | 01/01/70 00:00 | |
single const byte in code | 01/01/70 00:00 | |
The meaning of 'const' in ANSI 'C' | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Keil C51 isn't a C++ compiler | 01/01/70 00:00 | |
Coding Standard Rules - Netrino | 01/01/70 00:00 | |
Rule #2 is a bit broken or at least incompletely formulated | 01/01/70 00:00 | |
issue with #define usage | 01/01/70 00:00 | |
extern const code declaration | 01/01/70 00:00 | |
Insufficient detail | 01/01/70 00:00 | |
Conceptually wrong | 01/01/70 00:00 | |
Thanks, it's working ! | 01/01/70 00:00 | |
Why? | 01/01/70 00:00 | |
correction | 01/01/70 00:00 | |
Fundamental 'C' programming error! | 01/01/70 00:00 |