From: | Allan Odgaard |
Date: | 04 Apr 00 at 21:25:55 |
Subject: | Re: WBStartup & Console |
On 03-Apr-00, Mike Carter wrote:
> However how do I also have console output when my program is started
> this way? From the last quick test it just crashed my machine :-/
StormAmiga.lib adds this automaitcally, i.e. if you don't add your own wbmain()
it'll supply one which setup a consode etc. and calls the regular main().
> Any quick help. Maybe a compiler setting or something i missed???
I think you can just do:
stdin = stdout = fopen("Con:...
But I'm just guessing... most programs started from wb shouldn't lower
themselves to use a console ;-)
> Oh and what does the full commercial StormC documentation include
> compared to the devCD stuff (ie. a changes guide and nothing else!).
I only have the commercial version of StormC V2, and this one does have a
printed manual which I've used maybe a total of 5 times...
Regards Allan
------------------------------------------------------------------------
GET A NEXTCARD VISA, in 30 seconds! Get rates as low as 2.9%
Intro or 9.9% Fixed APR and no hidden fees. Apply NOW!
http://click.egroups.com/1/936/1/_/451227/_/954882573/
------------------------------------------------------------------------