CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2009
    Posts
    596

    [RESOLVED] Strictly personal preference?

    Is there a difference between << endl and \n?

  2. #2
    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    379

    Re: Strictly personal preference?

    endl will flush the output stream, '\n' may not

  3. #3
    Join Date
    Dec 2009
    Posts
    596

    Re: Strictly personal preference?

    Thank you very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured