Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/29/11 18:58
Read: times


 
#183938 - static variables in C++
I know that in C static variables exist over the entire run time of the program as opposed to automatic variables which are created each time the routine is called, but someone was telling me that they behave differently in C++, there scope changes according to the class which is calling them or something of that nature, anyone care to explain that in words of one syllable or less?

List of 15 messages in thread
TopicAuthorDate
static variables in C++            01/01/70 00:00      
   words of one syllable or less?            01/01/70 00:00      
      not really            01/01/70 00:00      
         Semaphore            01/01/70 00:00      
   Static class member varibles?            01/01/70 00:00      
      depends on active scope            01/01/70 00:00      
      You see            01/01/70 00:00      
         Namespace            01/01/70 00:00      
         Disagree about classes            01/01/70 00:00      
            Yeah i suppose            01/01/70 00:00      
   Static variable?            01/01/70 00:00      
      oxymoron            01/01/70 00:00      
         Not to mention            01/01/70 00:00      
            Or even            01/01/70 00:00      
         oxymoron            01/01/70 00:00      

Back to Subject List