Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #58343 > unrolled thread
| Started by | jacob navia <jacob@spamsink.net> |
|---|---|
| First post | 2015-03-17 21:08 +0100 |
| Last post | 2015-03-18 10:45 +0100 |
| Articles | 6 — 4 participants |
Back to article view | Back to comp.lang.c
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
| From | jacob navia <jacob@spamsink.net> |
|---|---|
| Date | 2015-03-17 21:08 +0100 |
| Subject | New directions in C: Standard library input and output |
| Message-ID | <mea1j3$cle$1@speranza.aioe.org> |
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;
[toc] | [next] | [standalone]
| From | Bartc <bc@freeuk.com> |
|---|---|
| Date | 2015-03-17 20:18 +0000 |
| Message-ID | <mea24r$lsm$1@dont-email.me> |
| In reply to | #58343 |
On 17/03/2015 20:08, jacob navia wrote: > 1.9 Overloading shift operator > 1.9.2 Syntax > outc << "This is a string on stdout" << lend; > errc << "And this on stderr" << lend; So you /are/ reimplementing C++! "<<" for output is one of its ugliest features and not one someone would voluntarily duplicate in another language. -- Bartc
[toc] | [prev] | [next] | [standalone]
| From | jacob navia <jacob@spamsink.net> |
|---|---|
| Date | 2015-03-17 21:29 +0100 |
| Message-ID | <mea2rp$etn$4@speranza.aioe.org> |
| In reply to | #58343 |
I am not the author of this rubbish jacob
[toc] | [prev] | [next] | [standalone]
| From | Melzzzzz <mel@zzzzz.com> |
|---|---|
| Date | 2015-03-18 01:00 +0100 |
| Message-ID | <20150318010048.3d53e047@maxa-pc> |
| In reply to | #58343 |
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++ ;)
[toc] | [prev] | [next] | [standalone]
| From | jacob navia <jacob@jacob.remcomp.fr> |
|---|---|
| Date | 2015-03-18 09:00 +0100 |
| Message-ID | <mebbap$ura$1@speranza.aioe.org> |
| In reply to | #58370 |
Le 18/03/2015 01:00, Melzzzzz a écrit : > > Heh, this really starts to look like c++ ;) > THIS IS A FORGED MESSAGE There is nothing in the documentation of lcc-win, nor in the tutorial I wrote that makes any mention to this pile of ... The objective of this guys is PRECISELY to make believe that I am reimplementing c++.
[toc] | [prev] | [next] | [standalone]
| From | Melzzzzz <mel@zzzzz.com> |
|---|---|
| Date | 2015-03-18 10:45 +0100 |
| Message-ID | <20150318104509.371ec1cf@maxa-pc> |
| In reply to | #58387 |
On Wed, 18 Mar 2015 09:00:26 +0100 jacob navia <jacob@jacob.remcomp.fr> wrote: > Le 18/03/2015 01:00, Melzzzzz a écrit : > > > > Heh, this really starts to look like c++ ;) > > > > THIS IS A FORGED MESSAGE > > There is nothing in the documentation of lcc-win, nor in the tutorial > I wrote that makes any mention to this pile of ... > > The objective of this guys is PRECISELY to make believe that I am > reimplementing c++. > > Ah, ok. It was suspicious to me as well.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c
csiph-web