File Read File Handling No comments #include <iostream> #include <fstream> //file stream that read and write files int main() { ofstream asif; asif.open("asif.txt"); asif<<"writing this to a file.\n"; asif.close(); return 0;} //Read the file asif.txt //for more help email me Share This: Facebook Twitter Google+ Stumble Digg
0 comments:
Post a Comment