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 / 542.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-19  |  536KB  |  2550x3300
Labels: binder | book | daybook | poster | reckoner | sky
OCR: 542 Chapter 9 Multidimensional Arrays and Double indirection Example 9-9 count.c count Synopsis the low Takes val command lue values of of line initi increments al initial, arguments. to the tep final, high Counts and value from step of the from final with Ob iective To uses illustrate the use ibrary Q f funct command ion line atoi() arguments. Also Include Files incl ude <stdio h> #include <stdl ib h> Funct ion Prototy ypes void count cha args PRECOND POSTCONDITION: ITION: in to args Displays con increments characters, tains integer of the namely values argv[3] address argv from of >,. an argv[1] array to argv poi Note 3 [2] inters int main( int argc, char *argv(] arge exit printf "Usage count start stop step \n" ), Note 1 ad intf( "Count ing from %s to s by s's. In" Note 2 count( argv ; ...