User forums > Using Code::Blocks

Novice Coder: Need some basic help

(1/1)

krymsontide724:
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. 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

Manolo:
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/
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

Navigation

[0] Message Index

Go to full version