Created
January 25, 2015 01:39
-
-
Save Planeshifter/282b2c022392f34e67a1 to your computer and use it in GitHub Desktop.
ofstream C++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <fstream> | |
| int main(){ | |
| ofstream outFile("c:\\data\\test.txt", iod::out); | |
| outFile << 20; | |
| outFile.close(); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment