A minimal project for practicing algorithms in LeetCode with Visual Studio Code configuration
- Most of the steps and configurations are from this zhihu answer.
- This configuration is for Windows 10 X64 with Visual Studio Code, MinGW-w64 and LLVM.
- Install Visual Studio Code
- Install MinGW-w64 with
Architecture = x86_64
- Install Clang for Windows (64-bit) under Pre-Built Binaries with
Add LLVM to the system PATH for current users
- Download zip file of this project
- Run
powershell -ExecutionPolicy ByPass -File install_extensions.ps1
to install 5 extensions for Visual Studio Code - Add MinGW-w64's binary path to current user's
Path
environment variable (included in theinstall_extensions.ps1
) - Enjoy!
- See an Atlassian blog's article as a reference
git remote add -f lc_dbg https://github.com/lsmgeb89/lc_dbg.git
git subtree add --prefix lc_dbg lc_dbg master --squash
git fetch lc_dbg master
git subtree pull --prefix lc_dbg lc_dbg master --squash
git subtree push --prefix lc_dbg lc_dbg master