Re: C programming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux