PDA

For continued disscussion on this topic : CString class...



scoobydude
05-31-2001, 03:24 AM
HELL-o!:rolleyes:

this err..script? gives me an error sayin something about "no conversion available" (from cin to strWho)...
If anybody could help that would be great! Maybe Orphious, I know you're out there! ;)



#include <iostream.h>
#include <afx.h>

CString strWho;

int main()
{
cout << "HINT: Type exit as your name when you want to quit!";
while(strWho != "exit")
{
cout << "Hello...who? ->" << endl;
cin >> strWho;
cout << endl << "Hello " << strWho << "!" << endl << endl;
}
return 0;
}

scoobydude
06-02-2001, 06:59 PM
Can you make a program like that that uses iostream?