C++ Hello World
To see how C++ works, copy-paste the code given below and run the program. If you need instructions on how to save and execute scroll down.
First save your file:
click on save as.
Choose the location where you wish to save your file and click save.
Once it is saved, we need to run and check the program.
Execute>>Compile and run
After a few seconds the output should be visible on .exe file.
If your code has any errors the compiler will detect them and they will be displayed in the error window.
Spot the error in the given code.
C++ will spot the error during compilation and highlight the error while also displaying a message on how to correct the error.