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?


Code:
#include <iostream>
#include <string>

int main()
{
 int attack=5;
 string namey;
 int move;
 int bughp=17;

 cout<<"Welcome Adventurer to This fabulous RPG."<<endl;
 cout<<"What would your name be?"<<endl;
 cin>>namey;
 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;
 while(bughp>0)
 {
  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;
  cin>>move;
  if(move==1)
  {
   bughp=bughp-attack/2;
   cout<< "you deal a rather puny kick to the ladybug"
   }
  else if(move=2)
  {
   bughp=bughp-attack;
   cout<< "you give the bug a small bop on the head"
   }
  else
  {
   cout<<"you decide to try something screwy.   Unfortunately, it doesn't work, and you spontaneously explode"<<endl;
   }
  }
 cout<< "you defeated the ladybug."
 }