And another. Run the following code, entering "go 4 expert" when prompted for a string. What is the output? Did you expect that output?
Code:
int _tmain(int argc, _TCHAR* argv[])
{
	string t;
	cout<<"enter string"<<endl;
	while(cin>>t)
	{
		cout << "cin>>t gives t the value: " << t << endl;
	}
	return 0;
}
(OK, that's it for now)