b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
isup (No) 于 (Fri Feb 8 19:50:44 2008) 提到:
I want to put the class definition in one .h file, and all inline member
fuction in one .cpp file. By this way, I can hide the souce code from the
class client. It seems not work when I put main() in another .cpp file and
compile the both .cpp files. The error messages say the inline member
funtions are Undefined.
Is it possible to hide the inline member functions' code?
☆───────────────────────────────────── |
|