#include using namespace std; int main() { ofstream datei; datei.open("test5.dat"); datei << "Hallo, Datei!"; datei.close(); return 0; }