diff options
| -rw-r--r-- | README.md | 13 | ||||
| -rw-r--r-- | hello.cpp | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..350af6b --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Hello World C++ Program + +A simple C++ program that prints "Hello World" to the console. + +## Requirements + +- C++ compiler (g++, clang++, or any C++11 compatible compiler) + +## Compilation + +To compile the program, use one of the following commands: + +### Using g++ diff --git a/hello.cpp b/hello.cpp new file mode 100644 index 0000000..fa5c04d --- /dev/null +++ b/hello.cpp @@ -0,0 +1,6 @@ +#include <iostream> + +int main() { + std::cout << "Hello World" << std::endl; + return 0; +} |
