1. 程式人生 > >C++學習心得(一)

C++學習心得(一)

eof gpo pre typeid 學習 div ctrl+z c++ str

2018-01-20

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

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

C++學習心得(一)