One problem i found was this:
Code:
#include <iostream.h>
using namespace std;
the old .h version doesn't use namespaces, atleast not in MSVC you might wanna try changing this to the new standard include file:
Code:
#include <iostream>
using namespace std;
if that still don't fix it for you, you might wanna try writing your own little function something alike this:
Code:
void Pause()
{
cout << "Press enter to continue . . .";
cin.ignore(255, '\n');
cin.get();
}
remember that a function like system("PAUSE"); is very system/compiler specific, posting the compiler and OS ur using would be useful