Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

My C program won't build.

I put it in terminal, using gcc and then dropping the file in, and get no errors, but it doesn't create an executable file.

Xcode-OTHER

Posted on Jan 30, 2013 7:00 AM

Reply
8 replies

Jan 30, 2013 8:48 AM in response to bcooke314

The compiled code will be called a.out unless you specify a name on the compile line.


This was mentioned in the video you linked to and in your second post above. In my post I asked you to so an

ls a.out in the terminal.


If you're going to learn to program you will need to learn to follow directions.


good luck


regards


Message was edited by: Frank Caggiano -o filename

My C program won't build.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.