sorry to criticise, buy I think that while you're getting the hang of classes, you've haven't grasped the concept of objects.
this code, for instance
Code:
ATM ATM1;
//------------------------------------------------------------------
void ATM::SetBalance()
{
cout << "How much do you want in your account? " << endl;
cin >> ATM1.Balance;
cout << "Balance is now; " << ATM1.Balance << endl;
system("pause");
}
you've essentially designed a system where there can only ever be one ATM! instead of creating a global ATM1 object you class member functions should operate on their own data.
so your code should be
Code:
void ATM::SetBalance()
{
cout << "How much do you want in your account? " << endl;
cin >> Balance; // note: NO ATM1, use "this->Balance" if you prefer
cout << "Balance is now; " << Balance << endl; // note: NO ATM1, use "this->Balance" if you prefer
// system("pause"); be gone, foul "system" call!
}
Also as a general rule you should separate your user interface from your application logic. so while it's ok to have the ATM class handle your user interface (i.e. cin and cout), you should have a separate Account class that manages balances and so on.
Practically, your code is ok for a simple project this size. But if you develop good coding practices now, it'll make your life much easier later on.