| Jack Klein 2006-06-28, 6:56 pm |
| On 28 Jun 2006 09:53:54 -0700, "noridotjabi@gmail.com"
<noridotjabi@gmail.com> wrote in comp.lang.c:
> Before I knew C I think that I remember seeing some C code that had
> something to do with __STDIN__ and __STDOUT__ I was wondering if that
> is a part of the C language and if so what it is.
> Thanks
> Nori
No, it is not. It is an extension provided by the compiler or some
library used with it.
In C, the identifiers "stdin", "stdout", and "stderr" are macros
defined in <stdio.h> and evaluate to FILE* pointers for the three
pre-opened streams.
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~.../FAQ-acllc.html
|