drawing a poker table
-
Hi, I am new to C++. I am used to programming in java and vb. What I am trying to do, just for the fun of it (and to learn c++) is write a poker analyser. What I would like to do is draw a poker table, and to this add controls so that I can receive input from the user. Does anybody know of a good tutorial that I could follow on this type of creation (doesn't have to be a poker table, could be any type of display that accepts input? I already have underlying code, cards, decks, hands etc but haven't been able to figure anything out about interfaces! Many thanks, sorry if it is a bit vague, Ron
-
Hi, I am new to C++. I am used to programming in java and vb. What I am trying to do, just for the fun of it (and to learn c++) is write a poker analyser. What I would like to do is draw a poker table, and to this add controls so that I can receive input from the user. Does anybody know of a good tutorial that I could follow on this type of creation (doesn't have to be a poker table, could be any type of display that accepts input? I already have underlying code, cards, decks, hands etc but haven't been able to figure anything out about interfaces! Many thanks, sorry if it is a bit vague, Ron
If you're using C++/CLI, the Graphics class contains all the methods you need, just call Invalidate() whenever you want to draw your form, and handle the forms paint method. If you're not using C++/CLI, you are in the wrong forum.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )