From bd9ffde20d67674041712a6686340b0c619b791b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 15 May 2021 12:31:51 +0300 Subject: minor fixes --- Sem. 02/selfPrintingTask.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Sem. 02/selfPrintingTask.cpp (limited to 'Sem. 02/selfPrintingTask.cpp') diff --git a/Sem. 02/selfPrintingTask.cpp b/Sem. 02/selfPrintingTask.cpp deleted file mode 100644 index 862cf07..0000000 --- a/Sem. 02/selfPrintingTask.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include -#include - -using namespace std; - -const int MAX_SIZE = 1024; -int main() -{ - ifstream inputFile("selfPrintingTask.cpp"); - - if (inputFile.fail()) - { - cout << "Error!" << endl; - return -1; - } - - while (!inputFile.eof()) - { - char buff[MAX_SIZE]; - inputFile.getline(buff, MAX_SIZE); - cout << buff << endl; - } - inputFile.close() - - return 0; -} -- cgit v1.3.1-23-gd82d