C++

    root@edison:~# g++
    g++: fatal error: no input files
    compilation terminated.
    root@edison:~# vi helloworld.c
#include <stdio.h>

void main (){
    printf("Hello World\n");
}
    root@edison:~# g++ -o helloworld helloworld.c
    root@edison:~# ./helloworld
    Hello World
    root@edison:~#

Last updated