i have given a name c2.cpp and saved in one of disk drives but hat traingle to run this program on the IDE screen is not getting enabled how can i share that screen shot here so that members on this forum could understand where is the problem on code block IDE .

Something like File->New...->Project...
Then create a console project from the options available.
Then copy/paste the code you have into the blank source file it starts you off with.

Is there a reason you ignored Salem post?

Tim S.

"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Are you trolling around or are you just that stupid? You have C::B on either full screen or you've disabled all the different Tabs. Enable them and you can see the options/buttons again. You could also look for those options under the Build Tab.

1- Create a Project from the File Menu. Console Project would be the easiest to go with. You'll now have a main.cpp file setup with some default code.
2- Write a simple program and hit Build + Run, or first Build it and then run it to test it.

This is how a typical Project will be displayed under the Project Section. You give your Project a name when creating a Console Project. You could also instead start from an empty project and add your cpp files as and when you need one by left clicking on your project and choosing the Add option. There are several ways of doing things. Try Google for how to use C::B.

Last edited by Zeus_; 02-13-2020 at 05:01 PM.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook, The Wizardry Compiled