#include <stdio.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>

int main()
{
    // コンパイルエラーを試すだけなので第一引数はテキトーな値で
    write(0, "Hello World!", 12);

    return 0;
}

$g++ test.cpp -o test
$gcc test.c -o test