On Thu, 9 Jan 2003, Carson Wilcox wrote:
> I also have to add the the correct way to write the cout line is:
> 
> cout << "Welcome to C++!" << endl;
> 
> The you have it will work but is not the C++ way.
Let's not cloud the issue.  The original line,
    cout << "Welcome to C++!\n";
is just as "correct" as yours.  It may be more consistent to teach using 
"endl", but it is no more correct than the line above.
Paul Braman
aeon@tampabay.rr.com
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:06:48 EDT