Search:

Type: Posts; User: sedontane

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,342

    I fixed it by simply adjusting my preprocessor...

    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
    {...
  2. Replies
    4
    Views
    1,342

    thanks for pointing out that tab I feel like a...

    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"
    ...
  3. Replies
    4
    Views
    1,342

    Preprocessor issues

    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.
Results 1 to 3 of 3