diff --git a/week4/day4.ipynb b/week4/day4.ipynb index 5ce0218..26d16f9 100644 --- a/week4/day4.ipynb +++ b/week4/day4.ipynb @@ -508,15 +508,6 @@ " my_compiler = [\"Windows\", \"Visual Studio 2019\", [\"cmd\", \"/c\", VISUAL_STUDIO_2019_TOOLS, \"&\", \"cl\", f\"{filename_base}.cpp\"]]\n", " \n", " if not my_compiler:\n", - " if os.path.isfile(\"./simple.exe\"):\n", - " os.remove(\"./simple.exe\")\n", - " compile_cmd = [\"cmd\", \"/c\", \"gcc\", \"simple.cpp\"]\n", - " if run_cmd(compile_cmd):\n", - " print(\"here\")\n", - " if run_cmd([\"./simple\"]) == \"Hello\":\n", - " my_compiler = [\"Windows\", \"GCC\", [\"cmd\", \"/c\", \"gcc\", f\"{filename_base}.cpp\"]]\n", - " \n", - " if not my_compiler:\n", " my_compiler=[my_platform, \"Unavailable\", []]\n", " \n", " elif my_platform == \"Linux\":\n",