Pelles C forum

C language => Beginner questions => Topic started by: danielh on September 10, 2010, 03:02:03 AM

Title: Output tab
Post by: danielh on September 10, 2010, 03:02:03 AM
Hi,

Dumb rookie question, I'm afraid.  I'd like to have my code's output appear in the output tab rather than the black console window thingy.  Is there an easy way to accomplish this?

Thanks,
Daniel
Title: Re: Output tab
Post by: Stefan Pendl on September 10, 2010, 09:10:46 AM
If you create a console application the program will be run in the DOS console, since this is what a console application is created for.

There will be no PellesC IDE available, when running your program standalone.
Title: Re: Output tab
Post by: TimoVJL on September 10, 2010, 10:53:22 AM
New idespawn.exe with dll is needed for that.

EDIT:
Add Tools menu Run command and run program with it.

Menu text: Run
Command: cmd.exe
Arguments: /k $(TargetPath)
 Tick  Use Output tab


Title: Re: Output tab
Post by: AlexN on September 10, 2010, 09:02:19 PM
Dumb rookie question, I'm afraid.  I'd like to have my code's output appear in the output tab rather than the black console window thingy.  Is there an easy way to accomplish this?

I don't know, if this will help you.

But you can register your program to the tools with Tools->Customize->Tools and use the button "Use Output Tab" to redirect the programs out to the output tab.
Title: Re: Output tab
Post by: danielh on September 11, 2010, 06:24:47 AM
Thanks very much folks.  Especially timovjl - that was exactly what I was looking for.