美文网首页
在Mac下编译执行C语言

在Mac下编译执行C语言

作者: 阿_贵 | 来源:发表于2018-06-15 12:11 被阅读0次

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

./helloworld                                     //执行

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

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

相关文章

网友评论

      本文标题:在Mac下编译执行C语言

      本文链接:https://www.haomeiwen.com/subject/ntopeftx.html