X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Lines: 9 X-Admin: news AT aol DOT com From: sterten AT aol DOT com (Sterten) Newsgroups: comp.os.msdos.djgpp Date: 29 Feb 2004 14:51:49 GMT References: <4041F822 DOT 2050603 AT acm DOT org> Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com Subject: Re: error under DOS , symify output Message-ID: <20040229095149.09990.00000563@mb-m17.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >Which makes a lot of sense since you did not have an argument for >argv[2] right? I'd like to have the option for a 2nd argument, i.e. the program should run with 1 or 2 arguments. Well, I can check argc and jump over that line qwe=0;if(argc>1)qwe=argv[2][0];