Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: krymsontide724 on June 28, 2011, 07:54:36 am

Title: Novice Coder: Need some basic help
Post by: krymsontide724 on June 28, 2011, 07:54:36 am
I have little coding experience(vb class at school). I want to learn C++ so i downloaded Code::Blocks. I am watching tutorials online http://www.youtube.com/watch?v=16yji8At2UI&feature=fvwrel (http://www.youtube.com/watch?v=16yji8At2UI&feature=fvwrel). When I finish typing it up I press build and run. Nothing happens after that. How do I run a project.

-Ik this is pathetic but bare with me please
Title: Re: Novice Coder: Need some basic help
Post by: Manolo on July 01, 2011, 10:29:10 am
Be advised that from VB to C++ is a pretty long journey:
Pointers, objects, files to include, libraries to link with, etc. may be tricky.
A good link: http://www.cplusplus.com/ (http://www.cplusplus.com/)
Using a GUI (not just console output) needs also understanting what a message-driven application is.

Perhaps you need to know C:B is not a compiler, but an IDE.
Depending on from where you have downloaded it, a compiler for MSWindows (MinGW) is also provided wit C:B.
C:B let's you choose the compiler you like.

In order to do your first steps, start a new Project in C:B, set its properties (i.e. Build target type: GUI or Console app) and add a new  .cpp file to it.

Good luck!
Manolo