need help with my poker project

Started by
0 comments, last by Drilian 19 years, 7 months ago
hi. Well, I'm almost finished with my little online poker project. It isn't a bot but helping program for people who don't know how to play very well. I got a problem. It's a console program and I'm having problems with getting handles on device contexts. Whenever it reads a card or anything I tell it to get a handle and then release it afterwards well somehow when it is waiting for the turn card to be displayed it doesn't display the win % for the flop unless I have a cin.get() right before it starts waiting with a do while loop. These are low level programming methods, I know, but it is what I know. I am so burnt out on fixing problems that I'm not sure I have the willpower to go fix it tonight. Maybe I need a week off from this crap. Anyone have any ideas.
Advertisement
Try using cout.flush() after you do your outputting... That should cause all the output to flush to the screen.

Just a thought, I could be wrong.

This topic is closed to new replies.

Advertisement