how to running C program in Xcode

when I open a new file in C language in Xcode I can't run the program?
why?
someone help me please.

thanks
Lorenzo
You have to create a command-line tool project in Xcode in order to run a C program.

For small C programs, you are better off using a text editor like TextMate, BBEdit, or Visual Studio Code. I know TextMate has a bundle that lets you run C programs from the editor.

Could you please tell me how to run c code on Xcode? or how to add conio.h file on my gcc compiler on my mac m1 pro?

how to running C program in Xcode
 
 
Q