打开xcode 选择 Create a new Xcode project

在xcode 上调试c程序

选择Command Line Tool

在xcode 上调试c程序

给你的项目起个名,选择c语言

 

在xcode 上调试c程序

点击next 选择存储位置,就会制动生成一个项目,在项目下面会创建一个main.c文件,里面已经默认输出了一个 "hello world"

在xcode 上调试c程序

点击Project => Run 运行

在xcode 上调试c程序

输出结果在底部

在xcode 上调试c程序

 

相关文章:

  • 2021-08-20
  • 2021-11-19
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-04-05
  • 2022-12-23
  • 2021-08-20
猜你喜欢
  • 2022-12-23
  • 2021-04-25
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案