Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
C++ Help
hey why isnt this working? its striaight out of a tutorial on cprogramming.com
using namespace std;
int main()
{
int anumber();
cout<<"Please enter a number: ";
cin>> anumber;
cin.ignore();
cout<<"You entered: " << number << "\n";
cin.get();
}```
ya im using Bloodshed and the error i get is line 10 where it says:
'cin>> anumber;' what is wrong with that please? the error message is:
ambiguous overload for 'operator>>' in 'std::cin >> anumber'
sorry if its a dumb mistake but im new, thanks
end3r