From ab8211c54582622059d5bbc71c9b18454c7e29dd Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 30 May 2021 09:04:37 +0200 Subject: [PATCH] =?UTF-8?q?richtigen=20Code=20zugef=C3=BCgt=20-=20fr=C3=BC?= =?UTF-8?q?herer=20commit=20war=20ein=20Fehler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clearscreen.hpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/clearscreen.hpp b/clearscreen.hpp index e4f704e..3021783 100644 --- a/clearscreen.hpp +++ b/clearscreen.hpp @@ -1,11 +1,13 @@ #include -#include "clearscreen.hpp" - using namespace std; -int main() +void clearScreen() { - cout << "Hallo Welt!" << endl; - clearScreen(); - return 0; + /*#ifdef _WIN32 + system("cls"); + #endif + #ifdef LINUX + system("clear"); + #endif*/ + cout << string(50, '\n'); } \ No newline at end of file