0 کاربر و 1 مهمان درحال مشاهده موضوع.
#include <stdio.h> int main() { printf("hello"); return 0; }
root@h-desktop:/home/g# gcc new.cnew.c:1:19: error: stdio.h: No such file or directorynew.c: In function ‘main’:new.c:6: warning: incompatible implicit declaration of built-in function ‘printf
#include <stdio.h>int main(){printf("%s","hello");return 0;}
gcc new.c -o new
./new
sudo apt-get install build-essential