摘要:
http://www.cnblogs.com/Purple_Xiapei/archive/2012/05/10/2495003.html第一部分:基本概念及其它问答题1、关键字static的作用是什么?这个简单的问题很少有人能回答完全。在C语言中,关键字static有三个明显的作用:1). 在函数体... 阅读全文
posted @ 2015-10-24 13:19
贺大卫
阅读(986)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/Purple_Xiapei/archive/2012/05/11/2495336.html 1.new、delete、malloc、free关系 delete会调用对象的析构函数,和new对应free只会释放内存,new调用构造函数。malloc与fre 阅读全文
posted @ 2015-10-24 13:16
贺大卫
阅读(249)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/Purple_Xiapei/archive/2012/05/27/2520477.htmlAbstract之前在(原創) 如何使用for_each() algorithm? (C/C++) (STL)曾經討論過for_each(),不過當時功力尚淺,只談... 阅读全文
posted @ 2015-10-24 13:14
贺大卫
阅读(843)
评论(0)
推荐(0)
浙公网安备 33010602011771号