Mail Archives: djgpp/1997/10/05/19:32:55
Liche wrote:
>
> Liche wrote:
>
> I am sorry, it displays 21 ten times if I use auto short count = 20;,
> instead of 21 22 23...
> Anyways, this is still a weird result. It seems that if I don't
> initialize a variable to a value then it is static, even if i use auto
> short count; ......
> Can anybody else reproduce this?
yes, me. And indeed I find it weird. Cause if I say something like auto
int x; then I print the value of X it will be something random.
--
--> http://www.cam.org/~tudor <--
Go ahead and build another Messiah
We dig another grave...
- Raw text -