码迷,mamicode.com
首页 > 编程语言 > 详细

C++学习心得(一)

时间:2018-01-21 14:55:27      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:amp   blog   post   log   类型   学习   typeid   ctrl   pos   

2018-01-20

while (cin >> n)//终止可以使用输入eof或Ctrl+Z

 

for (auto &c : str)
    cout << typeid(c).name();//查看auto的类型

 

C++学习心得(一)

标签:amp   blog   post   log   类型   学习   typeid   ctrl   pos   

原文地址:https://www.cnblogs.com/2Bthebest1/p/8320482.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!