cin getline int的相關公司資訊
c++ - Trying to use int in getline - Stack Overflow

c++ - Trying to use int in getline - Stack Overflow

瀏覽:581
日期:2025-11-08
2011年4月30日 - question q; for(int i = 0; i < totalquestions; i++) { q.inputdata(); questions.push_back(q); } ... It can be done with getline() , but cin is much easier....看更多