Okay, I just just started learning C++, and was trying to use what I know to make a very primitive and cheesy RPG-ish thing. My code came up with a lot of errors when I tried to use the Borland compiler, though. I've tried to fix it, but can't figure out how.
The errors I've got now are a bunch of these ones:
"undefined symbol '____' in function main(),"
and "Statement missing ; in function main()"
On line 25 I also got "Possibly incorrect assignment in funtion main ()"
Hopefully you can see what I'm trying to do. So what am I doing wrong?
cout<<"Welcome Adventurer to This fabulous RPG."<<endl;
cout<<"What would your name be?"<<endl;
cout<<"Hello" <<namey <<"How are you today?"<<endl;
cout<<"Oh no! A ladybug has landed on your head, violating your personal space, and therefore challenging you to a fight."endl;
cout<<"How will you torture.. er... teach a lesson to this miniscule insect... er... perilous beast? 1. Kick it, or 2. punch it? Make your choice, and insert the number "endl;
cout<< "you deal a rather puny kick to the ladybug"
cout<< "you give the bug a small bop on the head"
cout<<"you decide to try something screwy. Unfortunately, it doesn't work, and you spontaneously explode"<<endl;
cout<< "you defeated the ladybug."