在Mac下编译执行C语言

2018-06-15  本文已影响0人  阿_贵

gcc -Wall -o helloworld ccc.c           //编译

./helloworld                                     //执行

也可以直接用xcode创建新工程

macOS   ->  Command Line Tool  ->  选择c语言即可  (还可以断点调试)

上一篇 下一篇

猜你喜欢

热点阅读