If I understand you correctly, you want to use a C++ class from C. The short answer is, you shouldn't.
C++ is largely a superset of C, and a class is notion that exists in C++ but not C. If your class does not use inheritance or virtual, the class will have the same layout as the equivalent C structure. But different compilers may use different packing.