haha... I'm having trouble figuring out this litte goof around program... haha
the errors areCode:#include <iostream>
using namespace std;
int main() {
char sex;
cout << "Are you m or f (male or female)? ";
cin >> sex;
cin.ignore();
if ( sex == m ) {
cout << "GO AWAY!!!" << endl;
}
else if ( sex == f ) {
cout << "Hey Baby ;).... call me!! " << endl;
}
else {
cout << "Not sure? LOL!!! " << endl;
}
cin.get();
}
error C2065: 'm' : undeclared identifier
error C2065: 'f' : undeclared identifier
warning C4508: 'main' : function should return a value; 'void' return type assumed
thanks for any help given :)