摘要: char src[5]="abcd";char *des=new char[str.length(src)+1]; // length()不计\0strcpy_s(des,length(src),src); //崩溃strcpy_s(des,length(src)+1,src); // √因为s... 阅读全文
posted @ 2015-07-22 20:29 Aspirin_J 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 1.Using xp can swap two characters 2.In normal mode, use /abc/+4 can find the string "abc" and move the cursor 4 linesdown. 3.In normal mod... 阅读全文
posted @ 2015-07-22 14:44 Aspirin_J 阅读(140) 评论(0) 推荐(0) 编辑