home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / clesson / c.dir / 00253.png < prev    next >
Portable Network Graphic  |  1995-04-05  |  5.0 KB  |  450x184  |  1-bit (2 colors)
   ocr: Wel begin our program development with main(). Every time we need a new function, we write it at the bottom ofthe file and put its unction prototype in the list just above main(). In - main(),we first assign values to each element in the array deck. We think of these elements as playing cards in a deck. To check that code works as expected, we print out the hearts.