First, please use code tags for your code.
Second, place
right before return 0 in your main. That will hold the console window open until the user presses enter. Also, why do you have your drawbar function returning an integer? It seems like it should be a void function...
-D
Last edited by dgr231; Nov 3rd, 2009 at 3:55 pm.
Reputation Points: 55
Solved Threads: 7
Junior Poster in Training
Offline 76 posts
since Aug 2009