spat
asked on
c compile
hello,
im new to linux, i tried to compile the following code with the command "gcc -o test test.c"
#include
main ()
{
printf("Hello");
}
the program compiled but when i run the program, nothing happens. I want to program to print in the command promt, how is this done?
thanks
im new to linux, i tried to compile the following code with the command "gcc -o test test.c"
#include
main ()
{
printf("Hello");
}
the program compiled but when i run the program, nothing happens. I want to program to print in the command promt, how is this done?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.