- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 CreateProcess导致的资源泄漏
代码如下:// create process and wait for quitingbool XXXX::RunProcess(const std::string& command){ PROCESS_INFORMATION pi; STARTUPINFOA startInfo; memset(&startInfo, 0, sizeof(STARTUPINFO)); st
2008-10-14 09:34:00 1977
原创 Code Fragment~~
#include "stdio.h"int main(){ int x[] = {8, 7, 5, 0, 3}; int min = 0, max = 65535; int count = 0; for (int i = 0; i { if (x[i] == 0) { ++count; }
2008-10-09 16:11:00 1053
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人