A few random type questions.

Dave Brower daveb at llama.rtech.UUCP
Thu Sep 1 05:34:38 AEST 1988


In article <1988Aug28.030747.19105 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:
>In article <530 at accelerator.eng.ohio-state.edu> mills at baloo.eng.ohio-state.edu (Christopher Mills) writes:
>>Also, is there any real reason for the 'auto' keyword?  Has anyone ever
>>used it for anything?
>
>It's not useful, but there is probably old code somewhere that declares
>some local int variables with "auto i;" instead of "int i;".  Sigh.

Sometimes I use auto for a local variable whose address I will be taking
later.  This is a hint that I can't make it register if optimization
fever strikes

-dB
"Ready when you are Raoul!"
{amdahl, cpsc6a, mtxinu, sun, hoptoad}!rtech!daveb daveb at rtech.com <- FINALLY!



More information about the Comp.lang.c mailing list