Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Text to a file.
- #include <stdio.h>
- #include <iostream>
- #include <fstream>
- using namespace std;
- int main () {
- ofstream file;
- file.open ("codebind.txt");
- file << βText to a file.\n\nβ;
- file.close();
- return 0;
- }
Add Comment
Please, Sign In to add comment