Code:
Compiling...
Account.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(27) : error C2556: 'int __thiscall ACCNT::GetLog(void)' : overloaded function differs only by return type from 'char *__thiscall ACCNT::GetLog(void)'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(70) : see declaration of 'GetLog'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(27) : error C2040: 'GetLog' : 'int (void)' differs in levels of indirection from 'char *(void)'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(34) : error C2556: 'int __thiscall ACCNT::deposit(double,char *,bool)' : overloaded function differs only by return type from 'double __thiscall ACCNT::deposit(double,char *,boo
l)'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(54) : see declaration of 'deposit'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(34) : error C2371: 'deposit' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(54) : see declaration of 'deposit'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(105) : error C2556: 'int __thiscall ACCNT::withdraw(double,const char *,bool)' : overloaded function differs only by return type from 'double __thiscall ACCNT::withdraw(double,c
onst char *,bool)'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(56) : see declaration of 'withdraw'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(105) : error C2371: 'withdraw' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(56) : see declaration of 'withdraw'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(209) : error C2556: 'int __thiscall ACCNT::GetName(void)' : overloaded function differs only by return type from 'char *__thiscall ACCNT::GetName(void)'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(60) : see declaration of 'GetName'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(209) : error C2040: 'GetName' : 'int (void)' differs in levels of indirection from 'char *(void)'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(214) : error C2556: 'int __thiscall ACCNT::GetBalance(void)' : overloaded function differs only by return type from 'double __thiscall ACCNT::GetBalance(void)'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(62) : see declaration of 'GetBalance'
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\Account.cpp(214) : error C2371: 'GetBalance' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio\MyProjects\Balance\balance.h(62) : see declaration of 'GetBalance'
Balance.cpp
Error executing cl.exe.
Balance.exe - 10 error(s), 0 warning(s)
and back at square 1. I hate to run you in circles, but this is really peeving me. (my god if I could only spell)