Hi everyone. I'm a newbies in using c++ in UNIX. And since then I only do maintenance coding not development. so far i understand c++ coding and OOP concepts.
currently i'm working onsomething for maintenance purpose.here's the situation :
below are my files :
source files:
advDisc.cpp -- contains the main method
AdvDiscCtrl.cpp -- contains class implementation
AppLog.cpp -- source for writing application log
ErrLog.cpp -- to write error log if any
ITConversion.cpp -- codes for conversion of units n so on
Config.cpp
header files
AdvDiscCtrl.h -- contains class definition
AppLog.h -- contains definition for AppLog.cpp
ErrLog.h -- contains definition for ErrLog.cpp
Config.h -- database configuration n so on..
my makefile.jrnl contains the object of :
advDisc.o Config.o AppLog.o ErrLog.o ITConversion.o AdvDiscCtrl.o
all: advDisc
my problem is when i add new methods in my AdvDiscCtrl.cpp along with in AdvDiscCtrl.h files, there is nothing wrong in compilation. no errors. but i cant call the methods from my main. nothing happen. i mean no output as expected.
fyi, my new new methods are the same as defined before but i only change its name n into which table it is suppose to insert the output. it went well if i exclude my new methods. got the output.
i am so so do not understand why it doesn't run my new methods. i've been stuck with this for a few weeks...
please help me.. thanx a lot.. 