Need some help to fix errors in a program RSVP

pls click the link below which will have the program code and the debug / output page at the bottom of it ...........pls help

http://pastebin.com/s2REiZQJ
or
http://pastebin.com/raw.php?i=s2REiZQJ
Then you declare variables in a switch, you have to wrap them in {}, otherwise, the scope is problematic.
Example:
1
2
3
4
5
6
7
8
9
10
11
switch(foo)
{
   case 0:
   {
      string str = "foo";
      cout << str;
      break;
   }
   case 1:
      ...
}
In future, can you please post your code here and the errors too.

Thanks
code is to huge to post here so, i had to to put it in an link
sorry about that
Topic archived. No new replies allowed.