I started learning C++ programming recently and trying to write my very first program in C++.
Here is my sample code
using namespace std;
cout << "I am a C++ program" << endl;
As I learned, the program should display the output as:
I am a C++ program
But in my case, the program is displaying something like this instead of as I expected.
main.cpp:2:10: fatal error: Stdio.h: No such file or directory
What is the reason behind it? I am looking for a solution for the last thirty minutes and failed to gather the information about it. Could you, please save my day? I must recognize your kind help.