Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricca665 authored Aug 28, 2023
1 parent 99e5792 commit 77a0b2a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions notepad.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include <iostream>
#include <fstream>
#include <string>

using namespace std;


int main() {
string text;
cout << "inserisci del testo qui sotto plz e quando hai finito di scrivere premi invio plz pls plz pls" << endl;
getline(cin, text);
ofstream file("notepad.txt");
file << text;
return 0;
}

0 comments on commit 77a0b2a

Please sign in to comment.