会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Alan_LJP
博客园
首页
新随笔
联系
订阅
管理
2022年5月27日
【C语言】void*转int,无类型指针转整型
摘要: 简单示例(第7行) #include <stdio.h> // printf #include <stdint.h> // intptr_t 这是重点!!! int main() { void *pointer = (void*)233; int number = (int)(intptr_t)po
阅读全文
posted @ 2022-05-27 15:36 Alan_LJP
阅读(5310)
评论(1)
推荐(1)
公告