News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

it doesn't show anything in the part where the codes should be

Started by gnicgnoc, July 10, 2016, 01:14:33 PM

Previous topic - Next topic

gnicgnoc

When i make a project it doesn/t show me the part where i should put the codes and it doesn,t let me write anything(the part where should be the codes to making that hello world thing) but it can build and when it runs it shows that black window and says hello world .

BlueHazzard

on the left side is a tree control, with your project name, click on the + symbol to expand the tree. Expand all, and double click on the main.cpp





(OT: this comes from this stupid make it simple apps where you can't do shit... The user begins to be dump as a trash bin...

gnicgnoc

no it doesn't work ..the tree is :
-resourses
     project


stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

papagym

Quote from: gnicgnoc on July 10, 2016, 01:14:33 PM
When i make a project it doesn/t show me the part where i should put the codes and it doesn,t let me write anything(the part where should be the codes to making that hello world thing) but it can build and when it runs it shows that black window and says hello world .
You probably didn't start a project the right way! The part of CodeBlocks (CB) where you enter the code is called the editor, it should have the logo for CB in it when you started. (you can't use the start here button above it).
Now try to start a new project use File>New>Project> click on console applications then Go.  Choose C or C++ then next. Now in the Project title: give it a name in the box that appears.  I suggest you call it TestProject,  Any name would do. (you can delete any project later if it does not work). Click next and you can enter your code in the editor.
Good Luck

Jenna

In some cases the management pane is too small and you can not see the "Projects" -tab.
In this case you should see a little black triangle on the left and/or the right side of the tabs. Clicking the left one should move the tabs, so you can see the left-most ("Projects") tab.