转载自:http://www.read.org.cn/html/2070-zhuan-zai-shi-tian-nei-zhang-wo-xian-xing-dai-shu-jing-ren-de-chao-su-xue-xi-shi-yan.html刚在译言看到一篇非常精彩的文章,特意转载过来让更...
分类:
其他好文 时间:
2014-07-22 23:06:12
阅读次数:
337
Description
During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China -- they were Qi, Chu, Yan, Han, Zhao, Wei and Qin. Ying Zheng was the king of the...
分类:
其他好文 时间:
2014-07-21 23:27:49
阅读次数:
437
C++版看到的,说是面试宝典里的题目,考察重载、覆盖、多态等概念,比较有代表性。今天早上远程辅导 Yan Wang 同学学习 Qt 时还想到了这个题目,如果你能够正确理解这个题目,说明对于 C++ 中的函数重载、覆盖、虚函数、多态等有了正确的认识。然后呢,再来学习 Qt 就顺风顺水了。...
分类:
编程语言 时间:
2014-07-21 11:45:56
阅读次数:
345
1,C++中操作数组
#include
using namespace std;
int length(char []);
void output_frequency(char []);
int main()
{
char str[]="yan cong min";
cout<<"要处理的字符串为:"<<str<<endl;
cout<<"字符串长度为:"<<lengt...
分类:
编程语言 时间:
2014-05-05 13:29:30
阅读次数:
432