Question 6: How can you manually specify the compiler and linker flags within the `launch.json` file?

Question

Grade: Education Subject: Support
Question 6: How can you manually specify the compiler and linker flags within the `launch.json` file?
Asked by:
102 Viewed 102 Answers

Answer (102)

Best Answer
(205)
You can manually specify the compiler and linker flags within the `launch.json` file. For example, you might use flags like `-g` for debugging, `-Wall` for all warnings, and `-std=c++17` for C++17 support.