hello.cpp
1 #include <unistd.h> 2 3 int main() { 4 const char msg[] = "Hello, World!\n"; 5 write(1, msg, sizeof(msg) - 1); 6 return 0; 7 }
1 #include <unistd.h> 2 3 int main() { 4 const char msg[] = "Hello, World!\n"; 5 write(1, msg, sizeof(msg) - 1); 6 return 0; 7 }