This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:common:projects:commandlineargs [2020/10/15 12:47] – wedge | haas:fall2020:common:projects:commandlineargs [2021/09/27 12:04] (current) – wedge | ||
---|---|---|---|
Line 5: | Line 5: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 49: | Line 49: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 68: | Line 68: | ||
<code c> | <code c> | ||
- | if (argc < 3) // if less than 3 arguments (program_name + quantity | + | if (argc < 3) // if less than 3 arguments (program_name + argv[1] |
{ | { | ||
fprintf(stderr, | fprintf(stderr, |