Strange multiple definition error
问题 vio@!@#$:~/cpp/OOP/6$ g++ -o main main.o NormalAccount.o HighCreditAccount.o Account.o AccountHandler.o AccountHandler.o:(.bss+0x0): multiple definition of `AccountHandler::account_number' main.o:(.bss+0x0): first defined here collect2: ld returned 1 exit status I got the error message above. But I couldn't find the code where it is multiply defined, so I changed all account_number to number_of_account in 'account.h' and 'AccountHandler.cpp' and vio@!@#$:~/cpp/OOP/6$ vi AccountHandler.cpp vio