| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | How do you read command l |
VK> "How do you read command line parameters?" The main() function of every program has the following signature: int main(int argc, char *argv[]) argc is the number of arguments passed to the program, argv is a vector of strings, each element is a parameter (argv[0] is the path of the program). Thomas --- þ MM 1.0 #0113 þ IF YOU GET PAST THE DOG, YOU *AND* THE DOG ARE IN TROUBLE ---------------* Origin: McMeier & Son BBS (2:301/138) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.