Please help me solve this problem because I'm getting very nervous allready. It's very simple, but still it gives me a bad headache.
I have 3 files:
1) classX.h - contains declaration of class X
2) classX.cpp - contains definition of class X
3) main.cpp - very simple main program that uses class X
And you're allready guessing I want to link them into one exe file.
The problem is, I'm bound to use BorlandC 3.11 compiler (which is new to me), and I still don't believe I didn't manage to do it myself, but it's true.
All 3 files are in the same directory C:\BC31\BIN, search paths for include and library files are correct, and point to that dir, but still command
returns message:Code:bcc classX.cpp main.cpp
where getA is method in class X.Code:error: undefined symbol X::geta() in module main.cpp
Please, if you know the answer, I will appreciate it very much.