Problem when running simple c program
#include<stdio.h>
int main() { printf( "I am alive! Beware.\n" ); } Did "gcc -c smpl.c " -- compiled successfully then did "gcc -o smpl.o " -- returning gcc: no input files even tried "gcc -o smpl " -- returning gcc: no input files Can any one pls tell me how to make this run successfully.. |
I think what you want is
gcc smpl.c -o smpl |
|
Beware indeed.
|
All times are GMT -5. The time now is 04:08 AM. |