Hello world!

Bash

#!/bin/bash
echo "Hello world!"

C

#include <stdio.h>
int main(void) {
	printf("Hello world!\n");
	return (0);
}
#include <unistd.h>
int main(void) {
	write(STDOUT_FILENO, "Hello world!\n", 13);
	return (0);
}
#include <io.h>
#include <stdio.h>
int main(void) {
	_write(_fileno(stdout), "Hello world!\n", 13);
	return (0);
}

C++

#include <iostream>
int main(void) {
	std::cout << "Hello world!" << std::endl;
	return 0;
}

WIP: more to come in the future!

Scroll to Top