随笔分类 -  C++

摘要:#include #include #include using namespace std; struct student{ char s_no[20]; char s_name[20]; char s_sex[10]; char s_year[10]; char s... 阅读全文
posted @ 2015-09-02 02:46 陈泉宏 阅读(1101) 评论(0) 推荐(0)
摘要:strcpy#include #include char * strcpy( char *strDest, const char *strSrc ) //将源字符串加const,表明其为输入参数{ assert( (strDest != NULL) &&(strSrc != NULL) ); /... 阅读全文
posted @ 2015-09-02 02:22 陈泉宏 阅读(398) 评论(0) 推荐(0)