HI
i am coding some pointer manipulation :liked list of linked list
but am getting forward declaration and invalid use of incomplete type ‘struct
i'v seen http://www.cplusplus.com/forum/articles/10627/#msg49682 but i still not get it with this code
You can use forward declaration only when the compiler does not need to know what the type/class really is.
For example it's correctly used in Centre.h. Since you're only passing pointers, the internal details of the pointed to classes are not needed.
But in Centre.cpp you're creating new neuMots using the constructor. Therefore these details are needed, and you have to provide the full definition of the neuMot class.