Created a class , which is declared within a namespace .
namespace mySpace {
class X {
/* members */
}
This class task is to be used by another class Y , 'using namespace
mySpace' directive.
I have currently placed the above code containing class X in a header
file x.h and included in y.c. But not sure as to where the
declarations and definations should be placed ? Do i place the
declarations in x.h and definations in x.c , and then just include x.h
.. Not sure about the big picture.
thanks in advance,
vivekian