no message

This commit is contained in:
2023-12-03 17:44:32 +03:00
parent 74df6ffa7d
commit 019977ac92
4 changed files with 23 additions and 10 deletions

View File

@@ -14,11 +14,14 @@ public:
fprintf(ptr, "%s\n", text.getCharArray());
}
~File() {
if (ptr != NULL) {
fclose(ptr);
ptr = NULL;
}
}
Close();
}
void Close(){
if (ptr != NULL) {
fclose(ptr);
ptr = NULL;
}
}
Text* readLines(){
Text* lines = new Text();
int c;