Coder's Guild Mailing List

Re: What are auto variables?

Posted by Morris Know on 1999-11-15

To elaborate a little bit more (and please correct me if I am wrong Eugene), 
AUTO vaiables are the default type for your local vaiables in your program.  
AUTO int x;  and int x; are the same thing.  What the AUTO refers to is that 
the computer takes care of setting up memory spaces and cleaning up after 
your variable when your program/function starts and stops running.

-Damien

>From: "Eugene Teo" <eugenteo@xxxxxxx.xxx.xx>
>Reply-To: tcg@xxxx.xx.xx
>To: drknow60@xxxxxxx.xxx
>Subject: Re: What are auto variables?
>Date: Mon, 15 Nov 1999 18:17:33 +0100 (MET)
>MIME-Version: 1.0
>>From tcg@xxxx.xx.xx Mon Nov 15 09:17:01 1999
>Received: from [131.130.29.222] by hotmail.com (3.2) with ESMTP id 
>MHotMailB9F98B0C001DD820F3A683821DDE0F1C0; Mon Nov 15 09:17:01 1999
>Received: from eris (localhost [127.0.0.1])by eris.giga.or.at (8.8.8/8.8.8) 
>with SMTP id SAA17136for <drknow60@xxxxxxx.xxx>; Mon, 15 Nov 1999 18:17:33 
>+0100 (MET)
>Message-Id: <000c01bf2f8d$b781e220$8dac15a5@default>
>Errors-To: palfrader@xxxxxxx.xxx
>Originator: tcg@xxxx.xx.xx
>Sender: tcg@xxxx.xx.xx
>Precedence: bulk
>X-Listserver-Version: 6.0 -- UNIX ListServer by Anastasios Kotsikonas
>X-Comment: The coders guild
>X-Mailer: Microsoft Outlook Express 5.00.2314.1300
>
>AUTO variables are local variables.
>simply said, declaring uninitialised local variables are more efficient 
>than
>having static or global variables. may I have the document please?
>
>Eugene
>
>>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com