const before the reference means you will not be modifying the object that the reference is referring to. On a cont-reference you can only call member functions marked as const (meaning the function does not modify the object). You should mark getBalance() with const.
1 2 3 4 5 6
class bankAcct
{
...
int getBalance() const;
...
};