Mail Archives: djgpp/1998/05/11/00:02:03
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 -