diff --git a/languages/index.cc b/languages/index.cc new file mode 100644 index 0000000..c0f9a90 --- /dev/null +++ b/languages/index.cc @@ -0,0 +1,14 @@ +#include +#include +using namespace std; + +int main() { + // Create and open a text file + ofstream MyFile("filename.txt"); + + // Write to the file + MyFile << "Files can be tricky, but it is fun enough!"; + + // Close the file + MyFile.close(); +}