Thank you for your quick reply
Type: Posts; User: Vall3y
Thank you for your quick reply
When ever I write a class on one file, and try to use it on an other file, I get errors like 'error C2065: 'MyClass' : undeclared identifier'.
I learnt that only if the class declaration appears in...
thanks for your comments
edit: I read the requirement as having the given string changed, and not returning anything. I now understand this is not accepted? I must have understood it wrongly
how can I pass a pointer by reference? I want this function to duplicate the string. I know only a copy of the pointer is passed, but how do I pass the pointer by reference? I tried having the method...