From Go-OS
First C++ program on 五OS
// 五OS, sample userland program
#include <iostream>
#include <unistd.h>
int main(int argc, char *argv[]) {
std::cout << "Hello world from userland C++!" << std::endl;
sleep(1); // gimme some time for a screenshot!
return 0;
}
Result