会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
夜空的北极星
博客园
首页
新随笔
联系
管理
订阅
2019年12月10日
C++基础知识_class是对struct的扩展
摘要: 使用结构体: 1 #include <stdio.h> 2 3 struct person 4 { 5 char *name; 6 int age; 7 char *work; 8 void (*printInfo)(struct person *per);//函数指针 9 }; 10 11 voi
阅读全文
posted @ 2019-12-10 22:29 夜空的北极星
阅读(319)
评论(0)
推荐(0)
编辑
公告