anyone knows how to fix this...
i couldnt figure out why it does this everytime i tried to do a simple cout on the pointer that carries the data
Error 1 error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
it works on the memory add it holds but not the data.why? google seems didnt help much.Code:cout << ptr-> data
ieven tried them but didnt work.
any help would be much appreciated.