delorie.com/archives/browse.cgi | search |
From: | somjen AT netvision DOT net DOT il (Ohad Somjen) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | cout << endl; !!! |
Date: | Sun, 07 Sep 1997 06:38:16 GMT |
Organization: | NetVision LTD. |
Lines: | 8 |
Message-ID: | <340e566f.3989183@news.netvision.net.il> |
References: | <42256507 DOT 00434228 DOT 00 AT aks DOT com> |
NNTP-Posting-Host: | ts022p15.pop4a.netvision.net.il |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On Wed, 3 Sep 1997 12:23:15 GMT, eyal DOT ben-david AT aks DOT com wrote: >Weiqi Gao Wrote: > cout << s1.substr(0, 5) << "\n"; ^^^^^ why don't you use endl instead of old \n ??? it looks better and is more readable. Ohad.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |