User forums > Using Code::Blocks

Terminal window

<< < (2/2)

haroldo:
Dear CB users/devs,

I'm having this problem with C::B 10.05

Checked all solutions posted in this thread (and in other threads too :( ), but still without the ability to run console applications.
If run run in debug mode (F8), everything runs fine.

My problem is just with the option Build->Run.
Tried xterm, gnome-terminal and roxterm.

The problem started after I upgraded to 10.05.

Any help would be greatly appreciated.

Thanks,

Haroldo

Ceniza:

--- Quote from: nime1 on March 18, 2010, 10:13:35 am ---Second q:
Is here some command like "RunningInIDE" so I can get functions which will be disabled when file would be standalone?
Like this:

If (RunningInIDE)
    printf("This is item %d"), i);


--- End quote ---

What about an environment variable that you set in Code::Blocks that the RunningInIDE method would check for? Running the program through the IDE should give you that variable, while running it outside the IDE would not (unless you explicitly add it to your OS or terminal session).

Navigation

[0] Message Index

[*] Previous page

Go to full version