I just purchased a laptop with Windows 8 and installed the portable Dev-C++ because the other one wasnt compatible with Win8.
Now im getting an error when i compile that says:
'undefined reference to 'printSpecChar(int)
Let me also explain that when i was using Dev-C++ on Win7, i never had to use #include <stdlib.h> for system ("pause") but now I do.
So these are two new things im encountering for the first time.
Is there a setting that I need to change, or am I just missing something.....again?
using namespace std;
int getNumber(int, int);
void pause (double);
n = getNumber(1, 100);
int getNumber 1, 100)
int num = 0;
cout << "Enter a number between " << min
<< " and " << max << ": ";
cin >> num; cin.clear(); cin.ignore(10, '\n';
while (num < min || num > max);
cout << endl << endl;