#include <iostream.h>
int main()
{
char name[100];
cout<<"Please input your name: ";
cin>>name;
if(name=="bob")
{
cout<<"You are bob";
}
else if(name=="bobby")
{
cout<<"You are bobby";
}
else
{
cout<<"You are not bob";
}
return 0;
}
it lets you enter your name but cuts out as soon as oyu hit enter, it never delivers any of the if statement text.
im abviously a n00b, so thanks for any help you all give.
bax