B. The Draw Poker Program
Programming is not all work and no play, and the following Draw Poker game proves it! The game program provides a long example that you can study as you master C. Although the game is simple and straightforward, a lot happens in this program.
As with all well-written programs, this one is commented thoroughly. In fact, if you have read each chapter of this book, you will understand the programming of Draw Poker. One of the reasons the program is kept simple is to keep it compiler-independent. For your program, you might want to find out how your C compiler produces colors onscreen so that you can add pizazz to the game’s display. Also, when you master enough of C to understand the program’s inner workings, you’ll want ...
Get C Programming Absolute Beginner’s Guide, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.