C programming
Mike McCarty
Mike.McCarty at sbcglobal.net
Tue Aug 8 02:42:13 UTC 2006
jam wrote:
> Here's an example:
>
> $ gcc -o myprog myprog.c
> $ myprog
>
> the directories are change according to where i save the file. but the program isn't running..
>
> Anyhow, i'll try what you have said and see how i go.
>
> Thanks heaps...
>
>
You cut and maybe missed the point...
I was suggesting that you use the full path to the program name...
$ ./myprog
to put the path in, in case the PATH variable does not include '.'
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
More information about the fedora-list
mailing list