C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

variable static locale

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French)
View previous topic :: View next topic  
Author Message
Bruno Causse
Guest





PostPosted: Sun Jun 04, 2006 2:45 am    Post subject: variable static locale Reply with quote



bonsoir,

une variable static locale reste bien locale a la methode ?

void maclasse::methode1 {
static int a = 0;
..../...
}

void maclasse::methode2 {
static int a = 0;
..../...
}

les 2 variables a n'interfere pas?
--
Bruno Causse
http://perso.wanadoo.fr/othello
Back to top
Fabien LE LEZ
Guest





PostPosted: Sun Jun 04, 2006 3:14 am    Post subject: Re: variable static locale Reply with quote



On Sat, 3 Jun 2006 23:45:03 +0200, pasde.hcyrano.spam (AT) free (DOT) fr (Bruno
Causse):

Quote:
une variable static locale reste bien locale a la methode ?

Oui.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.