Mac Osxtopus
Registered
I said thing because its not an app yet. I was making a basic text-based RPG with C++ to see if I could do some basic multi-choice sort of stuff. I tried to put like choosing characters and such, but it would keep getting parse errors and stuff from project builder:
#include iostream
main()
{
int a, b, c;
a = 1;
b = 2;
c = 3;
cout << "Welcome To My Experimental RPG!, choose a character class: ";
cout << "1: Knight, 2: Wizard, or 3, Conjurer!";
{
if cin >> 1;
cout << "you chose Knight";
}
{
else
cin >> 2;
cout << "You chose wizard";
}
{
else
cin >> 3;
cout << "You chose conjurer";
}
return 0;
}
#include iostream
main()
{
int a, b, c;
a = 1;
b = 2;
c = 3;
cout << "Welcome To My Experimental RPG!, choose a character class: ";
cout << "1: Knight, 2: Wizard, or 3, Conjurer!";
{
if cin >> 1;
cout << "you chose Knight";
}
{
else
cin >> 2;
cout << "You chose wizard";
}
{
else
cin >> 3;
cout << "You chose conjurer";
}
return 0;
}