X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Cesar Rabak Newsgroups: comp.os.msdos.djgpp Subject: Re: scanf: strange behavior? Date: Thu, 02 Sep 2004 19:09:33 -0300 Lines: 12 Message-ID: <41379A1D.2050407@acm.org> References: <20040902144152 DOT GH6858 AT webhome DOT cz> <2pp00iFnf7nsU1 AT uni-berlin DOT de> <41374c9c$0$173$cc7c7865 AT news DOT luth DOT se> <20040902184005 DOT GA23943 AT webhome DOT cz> <41378A42 DOT 5040801 AT acm DOT org> <200409022144 DOT i82LiDLe005751 AT envy DOT delorie DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de WQ0v8V37CifnAIbepNYi8gOEPorqslZaJBmszZ/vTYuQ+eVEs= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: pt-br, pt To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DJ Delorie escreveu: >>But: the use of the code above would be to collect arguments passed to >>the command line _except_ yours have no variable to collect! >> >>Since you have put in the body of your main, is no longer a prototype! > > > You apparently don't understand C++ enough. As I wrote in the snipped you kept, I was questioning the definition, no the declaration, since the main was at a body of a small program.