I have installed code::Blocks IDE but unable to run "Hello world" program

Viewed 45

I am writing my first C++ code today. I have installed the code::Blocks IDE, but I'm unable to run a "Hello world" program. I am getting the below error message in the Build Log:

Checking for existence: C:\Users\saira\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\CodeBlocks\sample.exe

I am using F9 to build and run the program, which is named as sample.cpp, but I am unable to see the output of the code. Let me know if I am doing anything wrong.

Do we need to setup path for C++?

0 Answers
Related