I'm still new to C++ and working out this assignment.
When I attempt to call the various functions, I'm informed that "bank isn't defined."
class bankAccount {
private:
float bank[10];
public:
void deposit (int num, float value);
void balance (int num);
void withdraw (int num, float value);
void transfer (int num1, int num2, int value);
}; // end class
void deposit (int num, float value){
bank[num] += value;
}
bankAccount.h:16:37: error: 'bank' was not declared in this scope