Check out the software forum.
Don't reinvent the wheel if you don't have to. I think there is some C++ source out there, but you'll have to search for it. There is lots of code in C and Java. For example:
https://gna.org/projects/pokersource
http://spaz.ca/poker/
For poker related AI information:
http://www.cs.ualberta.ca/~games/poker/