> 由于需求,需要简便的运行C类代码,如下终端运行 ## 0.运行C ```c gcc hello.c -o hello ``` 运行产出: ```shell ./hello ``` ## 1.运行C++ ```c++ g++ hello.c -o hello ``` 运行产出: ```shell ./hello ``` ## 2.运行OC ```oc clang -fobjc-arc -framework Foundation hello.m -o hello ``` 运行产出: ```shell ./hello ```