Hi,
I experience i weird problem with the linker in DEV C++ that drives me crazy..
Any help would be grateful.. Here we go..
I have defined a class named Date, an instance of which is declared in another class named MainNode and is given the name "date".In the file MainNode.cpp i define some functions that are applied to the Date object. Each cpp file is compiled ok alone, but when i compile the whole project i SOMETIMES get the following linker error:
[Linker error] Undefined reference to 'MainNode::date'
I am most sure that the same code is compiled but i don't always get the above error.
I know that i don't help you much with the above description, below are 2 screenshots that might help you..
Thanks in advance!