User forums > Using Code::Blocks

Include automatically

<< < (2/2)

stahta01:
Try placing "-include stdlib.h" without the double quotes in the Other Options section.

Project -> Build Option
Tab "Compiler Settings"
Sub Tab "Other Options"

Sec0nd:
Thanks, but I don't use projects, I'm a beginner.
We work with several source files..

stahta01:

--- Quote from: Sec0nd on November 14, 2010, 05:35:11 pm ---Thanks, but I don't use projects, I'm a beginner.
We work with several source files..

--- End quote ---

So long then; because if you do NOT want to use projects; then in my opinion you have no real reason to use Code::Blocks or to expect help from the website.
You wasted a lot of my time by NOT saying the fact you do NOT use projects right at first.

Tim S.

Sec0nd:
Okay, sorry.
And thanks for trying to help....

stahta01:

--- Quote from: stahta01 on November 13, 2010, 11:47:44 pm ---Try placing "-include stdlib.h" without the double quotes in the Other Options section.

Project -> Build Option
Tab "Compiler Settings"
Sub Tab "Other Options"


--- End quote ---

You can also use the option in the Compiler Settings; this should work without a project. I have never tried it before.

Settings -> Compiler and Debugger
Tab "Compiler Settings"
Sub Tab "Other Options"


Never ask why the debugger does NOT work; it requires a project to work.

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version