Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Melzzzzz <mel@zzzzz.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: New directions in C: Standard library input and output |
| Date | 2015-03-18 01:00 +0100 |
| Organization | albasani.net |
| Message-ID | <20150318010048.3d53e047@maxa-pc> (permalink) |
| References | <mea1j3$cle$1@speranza.aioe.org> |
On Tue, 17 Mar 2015 21:08:06 +0100 jacob navia <jacob@spamsink.net> wrote: > 1.9 Overloading shift operator > 1.9.1 Motivation > As described in 1.3 the general advantages of operator overloading > have been explained. The C standard library should also provide some > structures which already have some operators overloaded in order to > perform, for example, input and output. > > For output the name outc should be used, for stderr the name errc and > for input the name inc. There should also be definitions for newline, > for example lend. > > 1.9.2 Syntax > outc << "This is a string on stdout" << lend; > errc << "And this on stderr" << lend; > > Heh, this really starts to look like c++ ;)
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New directions in C: Standard library input and output jacob navia <jacob@spamsink.net> - 2015-03-17 21:08 +0100
Re: New directions in C: Standard library input and output Bartc <bc@freeuk.com> - 2015-03-17 20:18 +0000
Re: New directions in C: Standard library input and output jacob navia <jacob@spamsink.net> - 2015-03-17 21:29 +0100
Re: New directions in C: Standard library input and output Melzzzzz <mel@zzzzz.com> - 2015-03-18 01:00 +0100
Re: New directions in C: Standard library input and output jacob navia <jacob@jacob.remcomp.fr> - 2015-03-18 09:00 +0100
Re: New directions in C: Standard library input and output Melzzzzz <mel@zzzzz.com> - 2015-03-18 10:45 +0100
csiph-web