Namespaces
Variants
Views
Actions

Talk:cpp/io/basic ofstream

From cppreference.com
< Talk:cpp‎ | io
Revision as of 13:43, 8 December 2017 by Cubbi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shouldn't there be a flush in the example after the writing also because '\n' is used and std::endl?

that stream is flushed at the closing brace. --Cubbi (talk) 13:43, 8 December 2017 (PST)