經安全檢測,此網站為安全網站,請放心前往原始網址!

c++ - Using getline to read from text file leads to infinite loop ...

2013年2月26日 - while(getline(txt,title_buffer)) { static int counter = 1; //getline(title_buffer, buffer_size); .... You need to put eof condition in the internal for loop.

stackoverflow.com

網址安全性掃描由 google 提供