C++ 23 · Build and debug
Build for debugging
Add debug symbols and disable optimization so a debugger can step through the code.
g++ -std=c++23 -g -O0 main.cpp -o app
C++ 23 · Build and debug
Add debug symbols and disable optimization so a debugger can step through the code.
g++ -std=c++23 -g -O0 main.cpp -o app
Was this page helpful?