const vs defineThanks for your help. Yes, 1000 constant is probably excessive, but 100-200 is very reasonable, ...
static variable and initializationSo if the function f() is called 10s after the program has started, I can be sure that the variable ...
static variable and initializationWhen I create a static variable local to a function: e.g. void f(void) { static int i = 5; ...
const vs defineThanks for the replies. So it is true that using #define to replace constant are more deterministic...
const vs defineI know there are many reasons why const is better than define for declaring a const. However, would...
This user does not accept Private Messages