I fixed it by simply adjusting my preprocessor commands in account.h and adding private: before my variables
see new account.h top
#ifndef Account_h
#define Account_h
class Account
{...
Type: Posts; User: sedontane
I fixed it by simply adjusting my preprocessor commands in account.h and adding private: before my variables
see new account.h top
#ifndef Account_h
#define Account_h
class Account
{...
thanks for pointing out that tab I feel like a right fool now! but learning is like that
ok after modifying the top of my bank.cpp to look like this
#include <iostream>
#include "account.h"
...
I am having severe issues with preprocessor commands.
I have 3 files
account.h
account.cpp
bank.cpp
bank.cpp makes use of account as a class.