2023년 5월 24일 수요일

Windows + vscode + visual studio compiler + c/c++

  1. Extension install



2. Install Visual studio pack


3. Set the VSCode environment settings

3-1. Set the value in the tasks.json file like linked file.

* Please put the  "${workspaceFolder}/*.cpp" in the args to compile c++ files

ref. https://code.visualstudio.com/docs/cpp/config-msvc


4. ctrl + shift + B => Run the tasks!