 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bruno Causse Guest
|
Posted: Sun Jun 04, 2006 2:45 am Post subject: variable static locale |
|
|
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
|
Posted: Sun Jun 04, 2006 3:14 am Post subject: Re: variable static locale |
|
|
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 |
|
 |
|
|
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
|
|