会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
肥斯大只仔
新随笔
管理
2021年8月21日
C语言实现多态
摘要: #include "malloc.h" #include <stdio.h> struct Base { struct VFunc* vF; }; struct VFunc { void (*print)(Base* b); }; void print(Base* b) { printf("%s\n
阅读全文
posted @ 2021-08-21 23:11 肥斯大只仔
阅读(124)
评论(0)
推荐(0)
编辑
公告