U
Uno
This is Plauger's macro override for putc:
#define putc(c, str) ((str)->_Next < (str)->_Wend \
? (*(str)->_Next++ = c) : (putc)(c, str))
So if str._Next is less than str._Wend then
str._Next, iterated once, equals c
else
you have to call the definition of putc.
How did I do with the logic on that?
Thanks for your comment, and cheers,
#define putc(c, str) ((str)->_Next < (str)->_Wend \
? (*(str)->_Next++ = c) : (putc)(c, str))
So if str._Next is less than str._Wend then
str._Next, iterated once, equals c
else
you have to call the definition of putc.
How did I do with the logic on that?
Thanks for your comment, and cheers,