News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Hello

Started by StealthOps013, September 07, 2009, 07:04:08 AM

Previous topic - Next topic

StealthOps013

I am new to programming. I have been learning for about a month now. I am in a computer science class in high school, and am very interested in it. I downloaded code::blocks, which is what we use at school. I am trying to run my programs, but it is saying that the file has not been built yet and I need to build it. I have never run into this problem at school. I am guessing because my teacher already has it built on those computers.
So I just want to know how to build the file so that my program will run.

Sorry for such a noobish question!

MortenMacFly

Quote from: StealthOps013 on September 07, 2009, 07:04:08 AM
So I just want to know how to build the file so that my program will run.
Start with telling us what OS, what version of C::B you are using (including a compiler suite?!).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

StealthOps013

I am using the newest version of Code::Blocks, and Windows Vista.

Jenna

Quote from: StealthOps013 on September 07, 2009, 07:36:11 AM
I am using the newest version of Code::Blocks, and Windows Vista.
Dou you mean the newest stable version (8.02) or a nightly ?

If you use the MinGW bundled with the 8.02-release, you might need to upgrade the compiler, because this version has known isssues on Vista, that have been fixed after or release.

StealthOps013

I am not too sure about all of that, I mean I just downloaded C::B tonight, so I am assuming I would have the most updated and fully functional version.

MortenMacFly

Quote from: StealthOps013 on September 07, 2009, 07:43:20 AM
I mean I just downloaded C::B tonight, [...]
To make it a bit easier for you: What's the name of the file you downloaded? There are several versions available - the latest official relase (08/08) in several editions and literally tons of nightlies.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]