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