摘要:
从面试到现在,字符串操作的库函数实现一直都在考。。从百度到小公司。字符串拷贝、翻转、求长度……笔试期间无心整理,终于有时间好好实现一下了。// StrOperation.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include#include#includechar *strcpy(char *strDest,const char *strSource){assert(strDest!=NULL&&strSource!=NULL);char *str=strDest;while(*strSource) *strDes 阅读全文
posted @ 2013-10-04 11:27
sumile
阅读(161)
评论(0)
推荐(0)