(previously 'DEVELOPER') Private forum for registered community members. To register, please visit www.prison-architect.com/register.
DHKold wrote:asmo0 wrote:std::out << "Hello" << std::endl;
To be more precise: no, using "\n" is equally platform independent, if that's what you're thinking. std::endl actually has a side effect that may cause performance problems (flushing the buffer) so only in the rare case you care about the buffer std::endl might be better, otherwise "\n" is never worse and often better.
Who is online
Users browsing this forum: No registered users and 3 guests