delorie.com/archives/browse.cgi | search |
From: | fixallpcs AT aol DOT com (FixAllPCs) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Command line help |
Lines: | 16 |
NNTP-Posting-Host: | ladder05.news.aol.com |
X-Admin: | news AT aol DOT com |
Date: | 28 Jun 1999 22:08:54 GMT |
Organization: | AOL http://www.aol.com |
Message-ID: | <19990628180854.22728.00000973@ng-ch1.aol.com> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Why doesn't this work? #include <iostream.h> int main(int argc, char argv[]) { int loop; for(loop = 0; loop < argc; loop++) { cout<<"argv["<<loop<<"]: "<<argv[loop]<<endl; } return 0; } Thanks, Tom Beauchamp
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |