Originally Posted by
whiteflags
To delete an entire string, you could use
str.erase(0, str.length());
I like this part... wiping a string...
Code:
using namespace std::string cup;
.
.
.
cup.erase( 0, cup.length() );
.
.
.
Is that correct?
With std::string may help avoid getting garbage into the cup variable... amazing! Awhile ago I could not grasp
the concept behind std::xxxxxxx ... I take it that I am ready now... Do you have any links to sample code of
simple programs designed for windows?
Thank you Whiteflags, and Elysia... looking forward not being a C+ programmer.... hehehe