Hello World
This page imports and runs a C++ file.
This is the input:
// 1. Filename: hello_world.cpp
// 2. Preprocessor directives
#include <iostream>
// 3. Namespace declarations
using namespace std;
// 4. Program entry point
int main(void){
// 5. Code statements
cout << "Hello, World!" << endl;
// 6. Return statement
return 0;
}
// 7. Comments
// single line comments
/*
multi
line
comments
*/
This page is located at cpp/sandbox/hello_world.md.
This is the output
Hello, World!