PE> Bob Stout is a dickhead. Is he still going "void main" or has
PE> he finally figured out how to write a "hello world" program in
PE> C? He's the last of the great Borland Fan Bum Chums.
FA> That was Herbert Schildt methinks..:)
FA> Must say i haven't seen that one from him,and lately he's been bagging
Some of the code I saw from him had this abortion in it. I
don't know if he changed his spots, this was a few years ago.
FA> Borland and pushing Watcom and somewhat MSC more.
There is a difference between a Borland Fan and a Borland
Fan Bum Chum.
FA> I don't agree with some of the things he says,but while i'm not really
FA> qualified to make a judgement on his knowledge, he does seem to have a good
FA> understanding of the C language.
I'm sure he does, although I am very suspicious about the mind
that writes "void main".
FA> It is supposedly entirely ANSI.Whether it's slower ,faster is another
FA> thing.
FA> But it gives full control over word processor type inputs.
PE> Which presumably means it isn't portable to systems that can't
PE> do more than line-buffering of stdin. E.g. a 3270 terminal
PE> won't send a message to the host until you press enter (or a
PE> function key or a couple of other keys). Pressing the letter
PE> 'A' will never send a message to the MVS host. BFN. Paul.
FA> Lost me there completely :) But i suppose it would be dos specific, like my
FA> post.
FREQ ANSI_C.* from me and you will have the standard. FREQ
my FILES list and then you'll have the name of the rationale,
and you can get that too.
Check out what they say about "line buffering". Actually, you
can probably do that by default with your current compiler.
Do an fgetc() from stdin, and see when you get the result back.
Before or after you hit if you type "hello there"?
Most likely you don't get the "h" until after you have hit CR,
because it is line buffered. On some systems you will be able
to switch off the line buffering, making it unbuffered, so you
get the "h" straight away. On other systems you cannot switch
it off. If you want to claim ISO conformance, you must assume
that you cannot do better than line buffering.
BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|