I got the transaction implet/specification that suppose to receive transaction history and print it out. I know its missing the other classes but I got those workings I just want to know if anyone see anything that is wrong with the first and second code because for some reason it won't set the TransType to "TransInfo". Also the history is place into a dynamic memory allocation.
It looks like it should be working. I'd put in some cout statements to debug and see where it's going wrong. Without your entire solution it's very hard to just read and spot bugs, your one isn't that obvious from what I ca see.
And yes, you can delete your code from the post later.