• Advertisement
Sign in to follow this  

need help with my poker project

This topic is 4921 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement