title | description | author | tags |
---|---|---|---|
Hello, World! |
Prints Hello, World! to the terminal. |
James-Beans |
printing,hello-world |
#include <iostream> // Includes the input/output stream library
int main() { // Defines the main function
std::cout << "Hello, World!" << std::endl; // Outputs Hello, World! and a newline
return 0; // indicate the program executed successfully
}