J
Jason
Hi, hope this isnt the wrong forum, if it is point me in the right
direction.
I am using the mingw compiler on windows xp and I have just installed dev
c++ in order to take advantage of the ide instead of compiling my programs
in dos. However, when i compiled my files it made an error out of
str.push_back(ch) and str.clear()
The error disappears when i use str += ch; and str = ""; instead. Anybody
know why?
And if there is no way around it what is the syntax for using += with a
string pointer, as i am used to str->push_back, is it now *str += ch;?
thanks for your help
direction.
I am using the mingw compiler on windows xp and I have just installed dev
c++ in order to take advantage of the ide instead of compiling my programs
in dos. However, when i compiled my files it made an error out of
str.push_back(ch) and str.clear()
The error disappears when i use str += ch; and str = ""; instead. Anybody
know why?
And if there is no way around it what is the syntax for using += with a
string pointer, as i am used to str->push_back, is it now *str += ch;?
thanks for your help