Learning 'C' using
Terminal.
Wrote and compiled 'hello world' using 'cc'. The 'a.out' file was output. BUT, I can't get it to run. It says, 'command not found'. The file does have 'x' execute permission. No idea why it won't run. Help.
Installed the Apple tools for the compiler. tnx
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">#include <stdio.h>
main()
{
printf("hello, world\n"

;
}</pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">
<small>[ 07-06-2002, 05:49 PM: Message edited by: NeoMac ]</small>