Alternative to Help Pointers and chars in C++;
When I do this:char *suit = "Hearts"; cout<<*suit;it prints Hearts;It shouldn't, it should print the character 'H' only. What you do is, you dereference the pointer-to-char, so it is only a char. That's why it's only the char that is printed from your class. If you wish the class to...
StringConvertor : A convertor class for managed-unmanaged string conversions that handles memory de-allocations