Jul 27, 2011 at 6:47am UTC
I am sorry. I have another (archived) thread started by myself for this particular topic. I cannot continue that because it is archived.
Could anyone please elaborate in detail the mystery of "static" and "volatile" variables?
And what is an "instance" of a variable?
Thank you.
Last edited on Jul 27, 2011 at 6:47am UTC
Jul 27, 2011 at 6:49am UTC
Also, I think I will have to use the mentioned keywords in C. If there is a change in meaning with reference to the context (C vs. C++), please let me know so I can follow up.
Jul 27, 2011 at 6:58am UTC
Surprisingly so, there is an article on wikipedia for each of your questions.
http://en.wikipedia.org/wiki/Static_variable
http://en.wikipedia.org/wiki/Volatile_variable
http://en.wikipedia.org/wiki/Instance_variable
Jul 27, 2011 at 8:40am UTC
I forgot to mention, but I have already gone through those topics.
As surprising as it may be, I am still the same ignorant person that I was.
I have two very short questions that I expect very long answers to.
- Why?
- How?
If anyone can provide the answers, I'll be grateful.