2010年6月16日
摘要: [原]一个由memset引发的知识点在调试一个基数排序的问题时,我想对最开始分配的int*赋初值,类似于Windows上的ZeroMemory,但是我发现事情没有那么简单。例子:#include <iostream>#include <cstring>using namespace std;int main(){int* c = new int[10];memset(c, ... 阅读全文
posted @ 2010-06-16 16:01 SunWentao 阅读(565) 评论(0) 推荐(0) 编辑