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)
(#107338@0)
2001-6-20 -05:00

回到话题: could anyone help me on C++ question?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=107338