new file: .gitignore

new file:   compile.bat
	new file:   main.cpp
	new file:   run.bat
This commit is contained in:
2025-06-29 00:37:08 +02:00
commit 7f7a743b69
4 changed files with 36 additions and 0 deletions

24
.gitignore vendored Normal file
View File

@@ -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

2
compile.bat Normal file
View File

@@ -0,0 +1,2 @@
@echo off
clang++ -std=c++17 -Wall -Wextra -O2 main.cpp -o bin\program.exe

6
main.cpp Normal file
View File

@@ -0,0 +1,6 @@
#include <iostream>
int main() {
std::cout << "run";
return 0;
}

4
run.bat Normal file
View File

@@ -0,0 +1,4 @@
@echo off
call .\compile.bat
.\bin\program.exe
echo.