mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
1481793072
* adding clang * fix hado * adding files * fixing naming * fixing test * fixing space * removing config file * fix tests * fix tests * fix file array
14 lines
267 B
C++
14 lines
267 B
C++
#include <iostream>
|
|
#include <fstream>
|
|
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();
|
|
}
|