home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_09 / 539.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-19  |  610KB  |  2550x3300
Labels: book | daybook | poster | reckoner
OCR: Command Line Parameters 539 sample With this program invocation argc would be and argv have the follow- ing configuration: gram at NULL that are and line by With the invocation ated avail- sample argc would be and argv would look like the following: many of the file argv com- process declar m nmers le lan- NULI line the IT mples parameters paramcters The program emdline.c in Example 9-8 the illustrates value the that of the argc declaration and command of demon- line argc and argv to the function main so can be accessed. simply displays that strates techniques for accessing the strings Aba ogram Example :8-6 cmdline.c com cmal ine.c Synopsis Prints the value of argo and the command line parameters orocess slalmlpieo arge