Back in 2001, freshmen year at college, I was wondering why simple "Hello World!" in C had to look like:
#include <stdio.h> int main() { printf("Hello, World!"); return 0; }
Back in 2003, I was wondering why a simple "Hello World!" in C++ had to look like:
#include <iostream> int main() { std::cout << "Hello World!" << std::endl; return 0; }
Back in 2007, I was wondering why the simple "Hello World!" in Java has to look like:
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } }
In 2008, I found out that it can look like:
puts 'Hello World!'
I was never looking the other way!
Btw., I am an engineer.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Back in 2001, freshmen year at college, I was wondering why simple "Hello World!" in C had to look like:
Back in 2003, I was wondering why a simple "Hello World!" in C++ had to look like:
Back in 2007, I was wondering why the simple "Hello World!" in Java has to look like:
In 2008, I found out that it can look like:
I was never looking the other way!
Btw., I am an engineer.