2024-07-11
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
It is very convenient to compile and debug C++ with cross-platform IDE, such as QTCreate, VSCode, Eclipse, etc., but if you can only use the Shell console, the advantage of gdb debugging is obvious. In the absence of IDE, this method is the most effective. Because it is not difficult to get started, I have sorted it out.
Reference Links
Command Examples
gcc -g -o Run_exe test.c