摘要: 一般程序中我们经常 需要 修改 2个形参的内容。 比如 memcpy(dst,src,size) strcpy(dst,src,size) strstr(dst,src,size) 需要把src 的内容 赋值给dst+x ,然后把修改后dst的值,反映到函数外部。 以下就是2种方法,来修改... 阅读全文
posted @ 2014-11-03 15:55 scott_h 阅读(208) 评论(0) 推荐(0) 编辑
摘要: "c++ keyword" http://www.cplusplus.com/ const defines that the type is constant. volatile defines that the type is volatile. mutable applies to non st 阅读全文
posted @ 2014-11-03 12:11 scott_h 阅读(484) 评论(0) 推荐(0) 编辑