You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
191 B

gcc -o swap.exe swap.c -std=c99 -g
g++ -o swap.exe swap.cpp -std=c++11 -g
加上-g 选项,会保留代码的文字信息,便于调试下面两幅图是有无 -g 选项调试的区别