Skip to content

Instantly share code, notes, and snippets.

@yamato8
Created January 29, 2014 08:27
Show Gist options
  • Save yamato8/8683878 to your computer and use it in GitHub Desktop.
Save yamato8/8683878 to your computer and use it in GitHub Desktop.
ファイルに書き込む:Qt
QFile file("D:\\test.txt");
file.open(QIODevice::WriteOnly | QIODevice::Text);
QTextStream out(&file);
out << "abc" << endl;//abcと書込み
file.close();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment