在Mac下编译执行C语言
2018-06-15 本文已影响0人
阿_贵
gcc -Wall -o helloworld ccc.c //编译
./helloworld //执行
也可以直接用xcode创建新工程
macOS -> Command Line Tool -> 选择c语言即可 (还可以断点调试)
gcc -Wall -o helloworld ccc.c //编译
./helloworld //执行
也可以直接用xcode创建新工程
macOS -> Command Line Tool -> 选择c语言即可 (还可以断点调试)