Hey I got this loop that I want to loop forever unless the user types Exit. This is my current code; when C++ builds the program, it starts up the command prompt, and it's totally blank. Nothing but a cursor.

VB Code:
  1. int i = 0;
  2. int a = 0;
  3.     while (i == a);
  4.     {
  5.         cout <<"The armory trainer behind the counter speaks:\n";
  6.         cout <<"Armory Trainer: Welcome to the armory. Enter the number\n of the item you would"
  7.              <<" like to buy:\n#1 Helmet = 200g\n#2 Shield = 500g\n#3 Armor = 900g\n"
  8.              <<"#4 Dagger = 10g\n#5 Scimetar = 400g\n#6 ShortSword = 1000g\n"
  9.              <<"#7 LongSword = 2000g\n#8 Exit\n\nArmory Trainer: So, what will it be?";
  10.         cin >> item;
  11.         if (item == Helmet)
  12.         {
  13.             Shelmet -= 1;
  14.             cout <<"You got a helmet.";
  15.             plyrGold -= 200;
  16.         }
  17.         else if (item == Shield)
  18.         {
  19.             Sshield -= 1;
  20.             cout <<"You receive a shield.";
  21.             plyrGold -= 500;
  22.         }
  23.         else if (item == Armor)
  24.         {  
  25.             Sarmor -= 1;
  26.             cout <<"Wow! You got some heavy duty Armor";
  27.             plyrGold -= 900;
  28.         }
  29.         else if (item == Dagger)
  30.         {
  31.             Sdagger -= 1;
  32.             cout <<"You got a dagger.";
  33.             plyrGold -= 10;
  34.         }
  35.         else if (item == Scimetar)
  36.         {
  37.             Sscimetar -= 1;
  38.             cout <<"You have received a Scimetar";
  39.             plyrGold -= 400;
  40.         }
  41.         else if (item == Shortsword)
  42.         {
  43.             Sshortsword -= 1;
  44.             cout <<"Wow! You got a Shortsword.";
  45.             plyrGold -= 1000;
  46.         }
  47.         else if (item == Longsword)
  48.         {
  49.             Slongsword -= 1;
  50.             cout <<"Amazing! You got an awsome Longsword!";
  51.             plyrGold -= 2000;
  52.         }
  53.         else if (item == Exit)
  54.         {
  55.             return;
  56.         }
  57.         else
  58.         {
  59.             cout <<"The item you have asked for is one we \n"
  60.                  <<"don't carry.";
  61.         }
  62.     }


Thanks!
Ríçk