www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/00:02:03

Mime-Version: 1.0
To: "John M. Aldrich" <fighteer AT cs DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: Justification
Date: Sun, 10 May 1998 20:54:45 -0700
Message-ID: <19980511035425.AAH4598@ppp107.cartsys.com>

At 09:02  5/9/1998 -0400, John M. Aldrich wrote:
>Jonathan Summers wrote:
>> 
>> Hopefully this has a simple answer.
>> 
>> How do you right justify using fprint, so that it comes out looking
>> like:
>> 
>>                 123.45
>>                  12.34
>
>I would assume that fprintf() accepts the same format modifiers as
>printf(), since they both call the internal function _doprnt().  Read a
>C textbook to learn about them.

FYI: It does.  `printf("format", ...)' should be exactly equivalent to
`fprintf(stdout, "format", ...)'.

Nate Eldredge
nate AT cartsys DOT com



ng as well. See its docs
("Submodel options").

However, if you are a real speed bum, you can get PGCC.  This is a GCC-based
compiler that does many, many Pentium optimizations. See www.goof.com.  It
is younger than stock GCC, but I have heard that recent versions are quite
stable.

> And: what is the status of Win'95/DirectX
>programming under DJGPP? Is it a viable alternative to expensive
>programs like VC and BC (I don't care about the 'Visual' aspect)

I can't speak to the "viable" aspect, since I don't do any of that sort of
thing.  However, what you want is (I believe) possible with the RSXNT
toolkit, which may be found in the v2tk/ directory of the DJGPP tree on a
Simtelnet mirror.

There is also the Cygnus Windows32 port of GNU tools, which is more oriented
toward native Windows programming. I don't know exactly where to find it,
but www.cygnus.com would be a good start.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019