TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Paul Edwards
date: 1996-01-22 23:32:36
subject: [1/2] My fgets()

FA> #include 
PE> ANSI on won't protect you on doing this non-ISO thing.
FA> Sorry, couldn't find the ISO switch. :)

It's a non-ANSI thing too.  The switch can't help you do things
like this.

FA> #include 
FA> #include 
FA> #include 
PE> Or this.
FA> Oh ok, so i'll just say #include  ?

No, that's not what I mean.  You can't claim it is ANSI when
you are including something called , which you will
not find mentioned in the ANSI standard when you FREQ it from
3:711/934.

FA>              _setcursortype(_NORMALCURSOR);
PE> And this (probably others too).
FA> Others ? No way ! :)
FA> Is there a way of doing cursortype ISO spec ? I have seen it done in 

No.

FA> assembly
FA> somewhere, but that doesn't make it ISO, does it ?

No it doesn't.  You can't do it in the C language.  You have to
use an extension, whether by a compiler-specific function, an
assembler function you write yourself, or some other method.

FA> Apart from not being ISO that code has it's moments IMO.

I was not commenting on that at all, just the comment about
you using the ANSI switch.  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

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™.