C programming

Mike McCarty Mike.McCarty at sbcglobal.net
Thu Aug 3 07:25:45 UTC 2006


jam wrote:
> hello.. jaz installed fc5. then i write a small c program. I compiled it but cannot run it. i tried what i usually do, since we have fedora as well (guess its a different version), but its not working. can you help me solve this problem? thanks heaps...

Common causes of this (presuming you didn't get compile/link errors):

program is not named what you think (try looking for a.out)
program is not in the path; try using ./ before the name, as in
	$ gcc -o myprog myprog.c
	$ ./myprog

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