c/c++
uglynakedman
这个作者很懒,什么都没留下…
展开
-
makefile .PHONY
PHONY .PHONY :clean clean: rm -rf a.out makfile经常会看到.PHONY的命令。.PHONY 的作用是什么 1首先要知道makefile中除了一些常量的声明外,剩下的指令基本都是以 下面的形式开始 targetfile:sourcefile command1 targetfile sourcefile co...原创 2018-06-13 18:17:20 · 713 阅读 · 0 评论 -
c++ new(随手记录的...请忽略这个...
默认使用 heap allocator(new real time时候很危险 new operator 是默认的 operator new是重载的 new operator调用operator new分配空间后 调用构造函数 使用new 的使用delete 使用operator new的使用operator delete #include <iostream> clas...原创 2018-06-18 01:24:25 · 264 阅读 · 0 评论