摘要:
c-cpp/学习笔记之IKM C++ 11 at main · haoran119/c-cpp (github.com) Q1. If most of the calls to function foo() below pass one of 10 particular values, which 阅读全文
posted @ 2018-02-24 14:43
浩然119
阅读(14549)
评论(2)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/kEHQjmhNtSmV3MgHzw6YeQ 避免内存泄露 不再用到的内存没有释放,就叫做内存泄露 在C/C++中,通过动态内存分配函数(如malloc系统函数)或者new运算符分配的动态内存在使用完之后需要手动释放。否则会造成内存泄露。 建议: 阅读全文
posted @ 2018-02-24 10:48
浩然119
阅读(661)
评论(0)
推荐(0)
浙公网安备 33010602011771号