摘要: 什么是继承struct Person { int age; int sex; };struct Teacher { int age; int sex; int level; int classId; };struct Teacher:Person { int level; int classId; };总结: 1、什么是继承? 继... 阅读全文
posted @ 2018-01-29 21:41 罗道义 阅读(325) 评论(0) 推荐(0) 编辑
摘要: int x = 123; //补码int float f = 123.4F; //IEEE编码int i = 'A'; //神马情况???我们在代码中写入int i = 'A';反编译后汇编就编程了mov dword ptr ss:[esp-4],0x41为什么会变成41呢?字符类型ASCII 表(American Standard Code for... 阅读全文
posted @ 2018-01-29 20:42 罗道义 阅读(418) 评论(0) 推荐(0) 编辑
本站总访问量