Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 02 / selfPrintingTask.cpp
diff options
context:
space:
mode:
1 files changed, 0 insertions, 26 deletions
-rw-r--r--Sem. 02/selfPrintingTask.cpp26
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 <iostream>
-#include <fstream>
-
-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;
-}