Write the steps to open a program in C++ *
Answers
Answered by
1
Explanation:
1. On opening DevC++, you will get a window. Click on File->New->Source File option.
2)Write your C++ program as shown below and save it ( ctrl+s ).
#include <iostream>
int main()
{
std::cout << "Hello World" <<std::endl;
return 0;
}
3)3. Once you have written the program, click on compile and run.
4)An output window will appear showing the result that is, Hello World printed.
Similar questions