commit 7f7a743b6917df08e02c5772b06a07e6876203aa Author: Max Westerlund Date: Sun Jun 29 00:37:08 2025 +0200 new file: .gitignore new file: compile.bat new file: main.cpp new file: run.bat diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..28fccdd --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Ignore build output folders +bin/ +build/ +out/ + +# Ignore compiled object files and binaries +*.obj +*.o +*.exe +*.dll + +# Ignore Visual Studio files +.vscode/ +*.user +*.suo + +# Ignore temporary files +*.log +*.tmp +*.bak + +# Ignore system files +.DS_Store +Thumbs.db diff --git a/compile.bat b/compile.bat new file mode 100644 index 0000000..640c076 --- /dev/null +++ b/compile.bat @@ -0,0 +1,2 @@ +@echo off +clang++ -std=c++17 -Wall -Wextra -O2 main.cpp -o bin\program.exe diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..40c4f3b --- /dev/null +++ b/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "run"; + return 0; +} \ No newline at end of file diff --git a/run.bat b/run.bat new file mode 100644 index 0000000..75e29e2 --- /dev/null +++ b/run.bat @@ -0,0 +1,4 @@ +@echo off +call .\compile.bat +.\bin\program.exe +echo. \ No newline at end of file