🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11454

window help

#11454
From: Henry Bitter
Date: Wed, 15 Feb 1989 15:54
19 lines
1021 bytes
I am trying to get a small C program working that is using both Intuition and
DOS. My problem is after creating my own screen and window the output that is
created using printf commands still goes to the workbench screen and window.
I have been unable to figure out how to point STDIN,STDOUT to the new 
window.  The Lattice 5.0 compiler will not allow a simple assignment such as
stdin = input(). The compiler says "not assignable Lvalue". Any help would
be appreciated. I just want all I/O to talk to my new screen and window.

Thanks


Henry Bitter

* Pacific Bell  *         (415) 823-2836
San Ramon, Calif.
{ }!pacbell!pbhya!hbit

If I had a disclaimer I wouldn't give it away !
Technical Details
Message-ID: <23793@pbhya.PacBell.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pacbell!pbhya!hbit

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pacbell!pbhya!hbit
From: hbit@pbhya.PacBell.COM (Henry Bitter)
Newsgroups: comp.sys.amiga.tech,comp.sys.amiga
Subject: window help
Message-ID: <23793@pbhya.PacBell.COM>
Date: 15 Feb 89 15:54:47 GMT
Organization: Pacific * Bell, San Ramon, CA
Lines: 19