Hello
When i define a static variable in my code :
static int Var;
What is that mean static variable ?
Printable View
Hello
When i define a static variable in my code :
static int Var;
What is that mean static variable ?
There are plenty of tutorials around that discuss static variables in C++. Easy to find with google, even for the lazy.
Hi grumpy
Lazy to ask or Lazy to answer ??
static has meany meanings. Google it, read it in a book, or research it some other way. Then come back with specific questions.
Play-along anti-troll method successful.
@OP - Google is the best C++ reference ever and will answer 80% of your questions before you have to come on a forum and ask "stupid" questions.
Rodaxodictionary Reference
Stupid Question - A question that has been answered 500,000 times each on 500,000 forums, which has been asked by a person with the laziness forte of a sloth <3