aligodbless2004 Posted October 25, 2004 Share Posted October 25, 2004 (edited) Hi All My Friends In the Linux Compilation problem please Help #include<stdioh> main() { a=10,b=20,c; printf("%d",c); } I wrote this simple programm then after Press escape :wq $ cc c.c $./a.out 30 This is not coming Problem is file name cc c.c Bash:cc: command not found All command is working main this is not coming Please Help Me Edited October 25, 2004 by aligodbless2004 Link to comment Share on other sites More sharing options...
0 Andareed Posted October 25, 2004 Share Posted October 25, 2004 Try gcc instead of cc. Link to comment Share on other sites More sharing options...
0 markwolfe Veteran Posted October 26, 2004 Veteran Share Posted October 26, 2004 If you don't get a good response in the programming forum here, just give me a PM, and have me move it to Open Source (rather than making a separate post). You may get answers there, if things don't work out here. Link to comment Share on other sites More sharing options...
Question
aligodbless2004
Hi All My Friends
In the Linux
Compilation problem please Help
#include<stdioh>
main()
{
a=10,b=20,c;
printf("%d",c);
}
I wrote this simple programm then after
Press escape
:wq
$ cc c.c
$./a.out
30 This is not coming
Problem is file name cc c.c
Bash:cc: command not found
All command is working main this is not coming
Please Help Me
Edited by aligodbless2004Link to comment
Share on other sites
2 answers to this question
Recommended Posts