Posts: 7
Threads: 1
Joined: Aug 2009
Reputation:
0
RE: Would like to join team
I'm too lazy to be a moderator.
That being said. I just learned C and C++.
int main(void)
{
string answer;
cout << "But it's really only basic functions in stdio.h. \n"
<< "Nothing really useful.\n\n"
<< "Prompt: Do you agree? Yes/No:\n"
<< endl;
scanf("%s",answer);
switch(answer)
{
case Yes:
cls();
cout << "That's very kind of you, but really, I know nothing.\n"
<< endl;
case No:
cls();
cout << "Told you, I was right, I know nothing.\n";
<< endl;
default:
cout << "You're a fucking idiot, can't even answer a basic prompt right.\n"
<< endl;
}
system(pause);
return 0;
}
EDIT: (PS, if you find the flaw in logic in the script, you get a cookie. It's obvious.)
In addition, I'm learning the (gasp) Windows Socket API.