Code::Blocks Forums
User forums => Help => Topic started by: FCiscoNJ on March 02, 2008, 04:16:24 pm
-
Hi I'm on win xp.
Trying to learn c++
So i'm learning from here:
http://www.cprogramming.com/tutorial/lesson1.html
(That's how new i am to programming, don't laugh)
It says i need a compiler. so i go with one of it's recommendation, code::blocks
So i go to code blocks url
http://www.cprogramming.com/code_blocks/
first those screen shots show an older version of codeblock v1.0
i have 8.02
any my problem is. i entered the same exact code that those screen shots have, i hit F9
and nothing happens. something flew by the build log screen but too quick for to capture.
never the less a command prompt like that in the http://www.cprogramming.com/code_blocks/
never appeared?
can someone let me know what i'm doing wrong?
I would be ever so grateful.
i know it must be simple ,i'm completely new to all this.
additonal notes:
Codebloks itself is installed in the default program files directory.
i save the project to my "My Documents" folder
This is what I have in the folder structure:
My Documents\MyProjects
MyFirst.Workspace
I also have another folder under myprojects
My Documents\MyProjects\MyFirstProgrammingProject\
uder that i have,
main.cpp
myfirstprogrammingproject.cbp
myfirstprogrammingproject.depend
myfirstprogrammingproject.layout
...DriveOn
-
NEVER MIND I GOT IT TO WORK.
This is how if you are interested .. (prolly not since it's easy for you all.)
in code::blocks
go to Settings menu > Compiler and Debbugger > Under Selected Compiler:
I changed it
from Borland C++ Complier
To gnu gcc compiler.
set it to default.
hit ok.
went back to the main code::blocks screen , clicked on on the run (play ) icon , it said it hasn't been built yet , do you want to build it? i said yes ..
and voila...
console window appear.
This is so exciting.
drive on...