| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | fgetc |
G'Day Andrew,
-=> Quoting Andrew Clarke to Frank Adam <=-
> Whoops, i meant fgetchar(). In Borland it is portable to all platforms,
> that compiler caters for, but is not ISO C or C++.
AC> #ifdef THAT_WAS_ONE_HELL_OF_A_WILD_PARTY_LAST_NIGHT_EH_PHILLIPE
AC> #define fgetchar() fgetc(stdin)
AC> #define fputchar(c) fputc(c, stdout)
AC> #endif
AC> Utterly ludicrous.
Yep, although i didn't have this set up, i had getchar and putchar set up
the same way. :-)
But AMOF, i don't think i've ever used either of the fxxxchar functions.
In the Borland 4.02 manual fputchar() is listed as ANSI C, that's either
a typo, or there is an ISO draft not yet released to the public.
Bugger if i'm going to pay $400 to them just to get the latest though.
I've spent about 1 hour on the net a few nights back, looking for a newer
draft, no cigar.
You'd think it's time for a new one.
L8r Frank (fadam{at}ozemail.com.au).
___ Blue Wave/DOS v2.21
---
* Origin: Melbourne PC User Group BBS (3:632/309)SEEN-BY: 633/267 270 @PATH: 632/309 107 635/503 50/99 635/728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.