1
reputation
2

Matt McCarthy

"Hello, World!" in a few different languages, for the beginner programmer.

HTML:

<!DOCTYPE html>
<html lang=en>
<head></head>
<body>
  <h1>Hello, World!</h1>
</body>
</html>

Javascript:

console.log('Hello, World!');

Python 3:

print('Hello, World!')

C:

#include <stdio.h>

int main() {
    puts("Hello, World!\n");

    return 0;
}

C++:

#include <iostream>

using namespace std;

int main() {
    cout << "Hello, World!" << endl;

    return 0;
}
1
answer
3
questions
~349
people reached
  • Chicago, IL, USA
  • mccarthycode.com
  • Member for 1 year, 10 months
  • 8 profile views
  • Last seen Jan 8 at 16:44

Top tags (3)

Score 0
Posts 4
Score 0
Posts 2
Score 0
Posts 1

Top posts (4)

Badges (2)

Gold

Silver

Bronze

2

Rarest