2012年2月13日

摘要: 感觉一直用C++,脑袋都快用SB了。用得自己什么样的轮子都不想造了,感觉自己快退化完了。上午突然对字符串又暧昧了。没办法,只能试了。#include <stdio.h>#include <stdlib.h>#include <malloc.h>#define num 4int cpy(const char* str1, char* str2){ int i = 0; while((*(str2 + i) = *(str1 + i)) != '\0') { i++; } return 0;}int main(){ char* cp =... 阅读全文
posted @ 2012-02-13 12:27 shizuka 阅读(230) 评论(0) 推荐(0) 编辑

导航