![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CPL
文章平均质量分 50
canican
这个作者很懒,什么都没留下…
展开
-
函数调用 堆栈
这段代码反汇编后,代码是什么呢?Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include stdio.h>long test(int a,int b){ a =转载 2009-11-10 16:03:00 · 537 阅读 · 0 评论 -
内存组织
根据“函数调用 堆栈”文章总结,前面还应该有个操作系统的内存分布原创 2009-11-10 16:46:00 · 388 阅读 · 0 评论 -
pc-lint
Keil: 1. 打开Keil μVision3,并打开需要检查的Project。 2. 打开Tools菜单,选择Setup PC-Lint...,打开PC-Lint Options窗口。 3. 点击右上角的四个编辑图标(New, Delete, Move Up, Move Down)来设置PC-Lint Include Folders。根据C源程序文件中包含的头文转载 2009-11-09 11:43:00 · 1566 阅读 · 0 评论 -
有趣代码
#include int main() { int a[5]={1,2,3,4,5}; int *ptr1=(int *)(&a+1); int *ptr2=(int *)((int )a+1); printf("%x,%x",ptr1[-1],*ptr2); return 0; } /*****************原创 2010-01-27 09:57:00 · 621 阅读 · 0 评论 -
类型提升
如下图所示,运算时,左箭头必定运行,上箭头根据两个操作数情况执行;参数赋值时,执行左箭头吗?赋值时,结果变为左值类型。 (TCPL2.7)Notice that floats in an expression are not automatically converted to double; this is a change from the原创 2009-12-09 09:42:00 · 390 阅读 · 0 评论 -
MinGW可以工作了
MinGW文件下载列表: binutils-2.19.1-mingw32-bin.tar.gz, gcc-core-4.4.0-mingw32-bin.tar.gz, gcc-core-4.4.0-mingw32-dll.tar.gz, gcc-c++-4.4.原创 2009-12-24 15:59:00 · 510 阅读 · 0 评论