User forums > Using Code::Blocks

how to use code blocks

(1/2) > >>

biotech54:
Is there a step by step tutorial on how to use all the features of code blocks?  I would really like to fully master this program.  I just started using codeblocks a few days ago.  It seems much simpler and user friendly than the other IDEs.   I understand only a very small handful of menu items.  I can't even figure out the simplest thing -
 how to create different versions of a program using codeblocks, so that i can test out each version separately.  I looked at the pdf manual on the codeblocks website, and it was really dry, skimpy, and essentially of no use.  The english grammar was really poor as well.  I googled for other manuals, but none seem to exist. Same with youtube, no videos on how to use codeblocks.  I really want a manual that will go into detail on each and every menu item, giving examples that i can try out to learn.  The alternative is to monkey with each menu item to try to decipher what it does, and when to effectively use it, which would take many years.  Why spend so much time writing an IDE which no one knows how to use?  I'm willing to pay for lessons btw, such as by skype.  Having written instructions makes learning so much easier though.  Maybe if i master this program, i will write such a book!  Thanks in advance for any advice.
Edward

exchg:
http://wiki.codeblocks.org/index.php/Main_Page

biotech54:
Thanks, but as i said before, it's skimpy, and not useful at all.  It only covers a few menu items, out of probably 1,000 menu items.  This is written for someone that already knows how to use the program.

BlueHazzard:
Codeblocks is a open source project, build by many volunteers, mostly experienced coder. For them most of the ui is self explaining, because it is the same for all C++ IDEs (i came a long time ago from VS6 (good old times) and learned everything by try and error). Codeblocks is developed in free time, and there is simply no time for writing documentation. You can help by start writing it ;) The wiki should be editable with the forum logins. If not please ask here for access.

The problem with english: I don't think that at the moment is one dev here who speaks native english...

You don't have to know every menu item to work with codeblocks. And if you have a problem just ask here. If it is a codeblocks related problem we will help you, if it is a coding error please ask on a c++ forum.

The most basic steps are described here: http://wiki.codeblocks.org/index.php/Creating_a_new_project and http://wiki.codeblocks.org/index.php/The_build_process_of_Code::Blocks



--- Quote ---how to create different versions of a program using codeblocks, so that i can test out each version separately.
--- End quote ---
This is a philosophical question:
1) If you ask for different versions of the same program, use a cvs like git or svn. Manage your code with it and as soon as you focus codeblocks it will detect that the code has changed and will ask if you want reload the code/project. Hit yes and all is fine.

2) If you want to have multiple main functions (different programs)  then there are two main approaches:
2.1) Use a separate project for each program. This is recommended for beginners because it is the easiest way and does not have any complicated steps. You select the active project by double clicking on it in the Management/Projects panel (it will get Bold if activated).
2.2) Use separate targets in one project for every main file and activate only one c file per target. This is a bit complicated:
      1) Create a project
      2) Create your main.c/cpp files
      3) Project->Properties->Build Targets
      3.1) Hit the "Add" key for every main.c file and select at the bottom "Build target file" always only one main file.
      4) Close the dialog and select your build target in the drop down menu near the build button in the toolbar

biotech54:
I understand that the program is written by volunteers.  But, it still makes no sense to me.  A programmer spends hundreds of hours writing and debugging each menu item for the program.  However, he cannot not spend a single hour to document it.  You can document it in any language.  It can be easily translated to any other language.  Programmers who have been using a C++ IDE for many many years can probably guess how to use the menu items.  However, programmers who are new to using a C++ IDE are lost.  If no one can understand how the entire program works, then how can you find any volunteer programmers willing to improve the software.  Before any programmer can start tweeking a program, he better know how to use the entire program first.

Navigation

[0] Message Index

[#] Next page

Go to full version