Hi everyone,

I'm a newbie to c++ and i was wondering if there is a script to do this:

I want it to be able to know the name that has just bin entered. i.e

string name;
cout << " Please enter your name: " << endl;
cin >> name;

if(name == bob)
{
cout << " COOL " << endl;
{

I know that that will not work.

Is there a script that will work?

thanks for your.

Swink.