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

Use the getline function with the C++ string class : Text File « File « C++

#include #include #include using namespace std; int main { string data; ofstream outfile; outfile.open("file.dat"); cout

www.java2s.com

網址安全性掃描由 google 提供