摘要: 面向对象编程的几个容易混淆重要的概念:函数重载、函数重写(重定义)、虚函数、多态性、函数覆盖http://www.greensoftcode.net/techntxt/2013222225451864479240 阅读全文
posted @ 2014-10-09 15:29 yexuannan 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; int main() { string title; getline(cin,title);//读取输入队列中的回车,但是丢弃不存储在title中 //cin>>title;//不读取输入队列中的回车,回车仍然在输入队列中 char a=cin.get(... 阅读全文
posted @ 2014-10-09 15:28 yexuannan 阅读(97) 评论(0) 推荐(0) 编辑