I don't know if this is possible.......
i have made a program containing 3 files
1.main.cpp----it includes both complex.h and def.h....main.cpp is simple menu
2.complex.h---class declerations
3.def.h-----definations of the member functions
now i want to give my code to someone....is it possible in some way that.....i give only main.cpp and complex.h to the user...but not show my definations which are in def.h ....but still my program be able to compile and execute at other persons end
this might seem very crazy :rolleyes: to you.....but i guess there must be some way to prevent code protection