I am havin a prob, i need to use
Code:
cin.get();
twice in the following code to get the effect, if i do not it just continues without waiting to press enter...i added //ERROR HERE at the part in question
Code:
#include<conio>
#include<iostream>
using namespace std;

extern string Name, Dwelling;
extern int Health, MaxHealth, Gold, GoldBank, Exp;

void FLHome()
{
	while(true)
	{
		clrscr();
		cout<<"Welcome to your home "<<Name<<", and your current dwelling is a "<<Dwelling<<"!\n";
		cout<<"Your health is "<<Health<<"/"<<MaxHealth<<", and you have "<<Exp<<" experience points\n";
		cout<<"You have "<<Gold<<" gold coins in your pocet, and "<<GoldBank<<" Gold coins in the bank!\n";
		cout<<"Select what you want to do:\n";
		cout<<"c: Game credits.\ns: Vilage Square\n";
		char Choice;
		cin>>Choice;
		if(Choice=='c')
		{
			clrscr();
			FLCredits();
			clrscr();
			continue;
		}
		if(Choice=='s')
		{
			break;
		}
		else
		{
			cout<<"Invalid choice! Press ENTER\n";
			cin.get();       //ERROR COMES IN HERE
			cin.get();
			continue;
		}
	}
}

any ideas and help would be appreciated