My first C++ program

Hello, World! My First Step into C++ Programming
Hey everyone! 👋
I recently started my programming journey, and C++ is the first language I'm learning. I thought it would be fun (and helpful) to document my experience — so here’s a quick look at the very first C++ program I wrote!
💻 What I Used
Language: C++
Compiler: MinGW
Level: Absolute beginner
✨ The Program
Here’s the basic “Hello, World!” program in C++ that I wrote.
# include <iostream>
using namespace std;
int main()
{
cout<<"welcome to the c++ world.";
return 0;
}
🧠 What I Learned
Even though the program looks small, I learned some really important things:
#include → This line allows us to use input/output functions.
using namespace std; → This lets us avoid writing std:: before cout.
int main() → Every C++ program starts with the main() function.
cout << "Hello, World!"; → This line prints the text to the screen.
return 0; → This ends the program and tells the system that it ran successfully.
✅ Final Thoughts
Writing my first C++ program felt amazing! It’s like saying “Hi!” to the programming world. I know there’s a lot to learn ahead — variables, loops, conditions, and more — but I’m excited to keep going.
If you’re a beginner like me, don’t be afraid to start small. Every coder writes their first “Hello, World!” once. This is mine. 😊
Thanks for reading! Follow me to join my journey as I explore more C++ concepts and write more beginner blogs.
#programming #cpp #beginners #codingjourney #helloworld #firstprogram
Subscribe to my newsletter
Read articles from Mannat Verma directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Mannat Verma
Mannat Verma
Coding beginner on a learning journey | Exploring C++ & programming basics | Future software developer in making