- Joined
- Sep 4, 2008
- Messages
- 4
- Reaction score
- 0
- Points
- 1
- Location
- The Far Side of the Moon
- Your Mac's Specs
- MacBook: 2.16 GHz, 1GB RAM, 120GB HD
I am just starting to learn C. I have created a "Hello, World." program, and used GCC in Darwin to compile it. It does compile correctly, and I can launch/run it by double clicking on the icon on the Desktop.
My question is, how do I run it from Darwin?
I've tried just typing in the name, but get the error: "No such file or directory"
Do I have to specify the path even when I'm in the correct directory?
My question is, how do I run it from Darwin?
I've tried just typing in the name, but get the error: "No such file or directory"
Do I have to specify the path even when I'm in the correct directory?