《C++ Primer》閱讀筆記(五)語句

第5章 語句 簡單語句(Simple Statements) 如果在程序的某個地方,語法上需要一條語句但是邏輯上不需要,則應該使用空語句(null statement)。空語句中只含有一個單獨的分號;。 // read until we hit end-of-file or find an input equal to sought while (cin >> s && s != sought)
相關文章
相關標籤/搜索