I am a C ++ programmer, object orientation, contacts me can solve your probelma in less than 50 min, working with C ++ and not more complicated dificel, haha
Please send me the C++ code that is giving you bugs. I teach C++ and ahve 20 years C++ engineering experience. :)
Also, what O/S are u builinding this on ? (and running it on?)