Mail Archives: djgpp/1997/03/05/03:11:17
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) writes:
> On Sun, 2 Mar 1997, Anthony Villena wrote:
>
>> I'm fairly new with C, and have decided to make DJGPP the compiler
>> of my choice. Unfortunatly I haven't found any thing in the docs
>> that tell me how to send text to the printer. If you could help it
>> would be MUCH apperciated. Thanks!
>
> Use the predefined stream `stdprn':
>
> fprintf (stdprn, "Hello, %s\n", "world");
So djgpp does have a stdprn. I guess I should have a closer look at stdio.h.
Also, speaking of system header files, the documentation for gcc refers to
a header file machine.h that doesn't exist, in connection with a flag
FRAME_POINTER_REQUIRED. (sp?)
(I searched my entire include, and then the whole djgpp directory with dir
machine.h \s. Then I did in each include directory a find "blah" *.h with
whatever the damned define name actually is.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -