This website requires Javascript to function properly. Please go to the setting of your web browser and enable Javascript for this website.
×
Loading...
Close
Home
Share
真的不明白么?这就是一个在C下实现C++的方法:类中的private和protect变量在C中要实现保护和封装,将其定义为函数中的静态局部变量(数组,不同的实例以实例号定义数组下标进行区分),而函数以函数指针的形式进行封装。
xxjjs
(东方射日)
(#164746@0)
Last Updated: 2001-8-13
This post has been archived. It cannot be replied.
Share
Share Online by QR Code
Report
Replies, comments and Discussions:
欢迎大家讨论,两个面试的问题。。。
枫下论坛主坛
/
工作学习
/
IT技术讨论