one .h file and one .cc file for each class, so you will end up with 5 .h files and 5 .cc files. sometimes, people also add a .x file for each class to provide externel interface, in this case, .h file is used for internal implementaion.

numnum (numnum)
2001-6-20 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: could anyone help me on C++ question?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论