![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
Wen_de_ll
编程 未来的程序猿。。。。。。
展开
-
8月24日
memcpy的实现lao'ti void* memcpy(void *dst, const void *src, size_t count) { //安全检查 assert( (dst != NULL) && (src != NULL) ); unsigned char *pdst = (unsigned char原创 2014-08-24 15:45:56 · 436 阅读 · 0 评论 -
优先队列
#include#include#include#include#includeusing namespace std;//定义比较结构struct cmp1{ bool operator ()(int &a,int &b){ return a>b;//最小值优先 }};struct cmp2{ bool operator ()(int &a,int &b){ return a<b;//最大值优先转载 2014-08-15 13:12:21 · 468 阅读 · 0 评论 -
求正整数n所有可能的和式的组合
论坛里看到的 写的非常原创 2014-08-24 19:09:41 · 690 阅读 · 0 评论