i am working in c++. I want to use the variables/functions of one class file into the another class file . Remember that the two classes are two diffenrent files in the same folder. In java i could have done it using inheritance through packages, but is there any option in C++ to do it like this ??