i'd several class files like classA in classA.cpp and classB in classB.cpp also there are related header files like classA.h and classB.h
As in classA.cpp code to reference classB, the compiler gave the undeclared message.
an extract from classA.cpp is :-
#include classB.h
classB *clsB = new ClassA();
that line alone was the compiler to give the undeclare error message.
please advise what was wrong or need to be done in the kDevelop.
thanks