From: ?a/b on 12 Feb 2006 03:03 On Mon, 06 Feb 2006 10:41:10 +0100, "?a\\/b" <al(a)f.g> wrote: >On 5 Feb 2006 21:05:29 -0800, "Dragontamer" <prtiglao(a)gmail.com> >wrote: >wrong >stdin here is a macro; in stdio.h file >#define stdin (&std::_streams[0]) >#define stdout (&std::_streams[1]) >#define stderr (&std::_streams[2]) excuse me i would like to say #ifdef __cplusplus #define stdin (&std::_streams[0]) #define stdout (&std::_streams[1]) #define stderr (&std::_streams[2]) #else #define stdin (&_streams[0]) #define stdout (&_streams[1]) #define stderr (&_streams[2]) #endif |