↓ Skip to Main Content

对不起我不是针对你

主导航

  • 首页
  • Java
  • C/C++
  • Linux
  • 运维
Home › 2013 › 10月

月度归档: 2013年10月

c语言一些细节问题

作者 Jason Wong 发表于 2013-10-14 发表于 C/C++, Default

最近遇到的一些小问题

typedef union
{
    int i;
    char c[4];
}un_t;

int main()
{
    int a = 0x12ff12ff;
    char *p = ((un_t)a).c;
    return 0;
}

第十行这种写法 c[……]

阅读全文

分类

  • C/C++
  • Default
  • Java
  • Linux
  • 运维

归档

  • 2020年4月
  • 2019年8月
  • 2019年3月
  • 2018年8月
  • 2018年3月
  • 2018年2月
  • 2017年11月
  • 2017年10月
  • 2017年9月
  • 2017年4月
  • 2014年9月
  • 2014年8月
  • 2014年4月
  • 2014年1月
  • 2013年12月
  • 2013年10月
  • 2013年9月
  • 2013年6月
  • 2013年4月
  • 2013年3月
  • 2013年2月
  • 2013年1月
  • 2012年12月
  • 2012年10月

近期文章

  • Ubuntu 20.04 安装Mysql Server 8.0以及配置远程登录
  • MySQL事务与Spring事务管理
  • TCP keepalive 参数配置
  • 单片机上实现基于RAM+FLASH的消息队列
  • JAVA 应用优雅关闭

近期评论

    页脚菜单

    © 2025 blog.isstrong.net | Powered by Responsive Theme