搜索资源列表
减少内存占用
优化C++程序编译效率的实例
(1)自定义程序的入口
(2)合并区段
(3)不用调malloc,free等函数
(3)不用cout来输出,cin来输入
(4)如果调用了很多库函数如memset,stycpy等等
的话,请导入msvcrt.lib,不然编译器会在程序里面
导入静态库,这样的话程序就会大很多。。
(5)...
你必须知道的495个C语言问题
- 学习c 的绝对好书! 第1章 声明和初始化. 1 基本类型 1 1.1 我该如何决定使用哪种整数类型? 1 1.2 为什么不精确定义标准类型的大小? 2 1.3 因为C语言没有精确定义类型的大小,所以我一般都用typedef定义int16和int32。然后根据实际的机器环境把它们定义为int、short、long等类型。这样看来,所有的问题都解决了,是吗? 2 1.4 新的64位机上的64位类型是什么样的? 3 指针声明 3 1.5 这
jffs2详细分析
- 对jffs2的一下各个方面进行了详细的点评!不可错过哦! jffs2/jffs2/ jffs2/jffs2/zlib.c jffs2/jffs2/symlink.c jffs2/jffs2/super.c jffs2/jffs2/scan.c jffs2/jffs2/readinode.c jffs2/jffs2/read.c jffs2/jffs2/nodemgmt.c jffs2/jffs2/nodelist.h
mymalloc
- The usual implementation of malloc and free are unforgiving to errors in their callers' code, including cases where the programmer overflows an array, forgets to free memory, or frees a memory block twice. This often doe
高质量C++C 编程指南
- 前 言 .......................................................................................................................................6 第 1 章 文件结构 .................................................................
实现模仿系统的内存分配
- 当时在WinCE下工作,项目中给我们指定使用的内存大小只有10M,而在项目中经常发生内存泄漏,内存使用超出范围等各种错误,所以为了项目质量的提高,写了一个模块系统内存分配的库,用于管理项目中的内存分配。重载了 new,delete 以及实现了 malloc free
高质量C++/C编程指南
- 第1章 文件结构... 11 1.1 版权和版本的声明... 11 1.2 头文件的结构... 12 1.3 定义文件的结构... 13 1.4 头文件的作用... 13 1.5 目录结构... 14 第2章 程序的版式... 15 2.1 空行... 15 2.2 代码行... 16 2.3 代码行内的空格... 17 2.4 对齐... 18 2.5 长行拆分... 19 2.6 修饰符的位置... 19 2.7 注释... 20
nedmalloc
- nedalloc, an alternative malloc implementation for multiple threads without lock contention based on dlmalloc v2.8.4. (C) 2005-2010 Niall Douglas Boost Software License - Version 1.0 - August 17th, 2003 Permission is her
lab7
- malloc lab
tc201
- turbo c 2.0 一个相当经典的编程工具,个人强烈推荐-turbo c 2.0 a very classical programming tools, personal strongly recommended
15-VMAlloc
- windows核心编程源程序-windows core programming source
TC api文档
- C语言函数库,包含所有的C语言函数-C language library that encompasses all the C language function
lab7
- ICS 课程的Lab7-ICS courses Lab7
VirtMALLOC
- 可以分配进程下面的虚拟内存空间,并对其进行操作-process to be allocated under the virtual memory space, and its operation
桌面hhs
- int *base int *top int stacksize }sqstack inistack(sqstack &s) { s.base=(int*)malloc(stackintsize*sizeof(int)) if(!s.base) exit(-2) s.top=s.base s.stacksize=stackintsize return 1
gnu_iodemo
- UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain. The I/O functi
ptmalloc2-current.tar
- 一个很好的内存泄露的监测代码,非常适合在嵌入式系统开发时使用-a good memory leakage monitoring code, very suitable for embedded systems development in the use of
ce_crtdbg
- This code detects memory leaks in embedded VC++ almost the same way crtdbg does in VC++. At the end of program execution it will display in the debug window if there were any memory leaks and how the memory looks so you
a1229
- 一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间-a C program, char* malloc (unsigned size) function to the system for a memory space