编译指令与MAKEFILE

2024/9/6

# 编译指令

# python

python3 file.py
python3 -m pdb file.py
1
2

pdb的用法 (opens new window)

# C++

g++ file.cpp -o file
./file

g++ -g file.cpp -o file
gdb file
1
2
3
4
5

g++编译选项 (opens new window)gdb的用法 (opens new window)

# MAKEFILE

Makefile (opens new window)