new file: .gitignore
new file: compile.bat new file: main.cpp new file: run.bat
This commit is contained in:
24
.gitignore
vendored
Normal file
24
.gitignore
vendored
Normal 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
2
compile.bat
Normal 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
6
main.cpp
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::cout << "run";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user