Mail Archives: djgpp/2003/01/30/17:04:40
"gilbert" <theresaboxonmyhead AT yahoo DOT com> wrote:
> I am looking for a string class which will work
> with djgpp.
[snip]
> Is there a string class that will work with djgpp?
I don't mean to be a smart-alec, but what's wrong with
std::string?
#include <iostream>
#include <string>
int main()
{
using namespace std;
cout << "What is your name?";
string name;
cin >> name;
cout << "Hello, " << name << '.' << endl;
}
Or am I missing something?
Best regards,
Tom
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
- Raw text -