Last active
January 19, 2016 08:40
-
-
Save native-m/8eb0956ef6ae5e9f6b37 to your computer and use it in GitHub Desktop.
This file contains 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> | |
using namespace std; | |
int main() { | |
ofstream fileTXT; | |
fileTXT.open("filecontoh.txt"); | |
fileTXT << "Teks disini\n"; | |
fileTXT.close(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment