摘要: #include #include char* strcat(char* a, const char* b) { assert(a != NULL && b != NULL); char * str = a; while ( *str++ != '\0' ) NULL; str--; while ( (*str++ = *b++ ) != '\0') NUL... 阅读全文
posted @ 2009-01-22 12:36 谭志宇 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1:C和C++有什么区别: C++支持面向对象的编程,同时兼容C语言的面向过程编程 2:VB和C++有什么区别: VB是一门基于对象语言,有对象和类的概念,但是对于继承、多态实现的不好 3:VC和C++有什么区别: VC可以看成是C++加上MFC基础类库的组合 4:声明一个引用是需要注意什么,函数返回引用时需... 阅读全文
posted @ 2009-01-22 11:26 谭志宇 阅读(408) 评论(0) 推荐(0) 编辑