Bài tập trên trang hustack.soict.ai của lớp IT3170 - Thuật toán ứng dụng
src/
: Thư mục chứa mã nguồnweek*/
: Bài tập theo tuầntesting/
: Framework test
tests/
: Thư mục chứa test casesweek*/
: Test cases cho từng tuần
build/
: Thư mục chứa file biên dịch
- Cài đặt Visual Studio Build Tools
- Cài đặt Make (Tớ thích dùng Scoop:
scoop install make
) - Biên dịch và chạy (trong Visual Studio Developer Command Prompt/PowerShell):
make clean make all
- Cài đặt GCC và Make (nếu chưa có):
# Ubuntu/Debian sudo apt-get install build-essential make
- Biên dịch và chạy:
make clean make all
- Cài đặt Xcode Command Line Tools:
xcode-select --install
- Biên dịch và chạy:
make clean make all
Để chạy test cho một chương trình cụ thể:
make test week1 maze
Để chạy tất cả test:
make test-all