Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » A way to change what represents
Re: A way to change what represents [message #16307 is a reply to message #16294] Sat, 07 June 2008 10:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
cbpporter wrote on Fri, 06 June 2008 09:00

Is there a way to change what characters are inserted when using "\n" (i.e. like when writing to a stream)? OS dependent value is not good for my current need, I need fixed one.

If there isn't I guess I can run a in-memory replace before writing to disk, but the operation is sure to be expensive.


Actually, current U++ NEVER tests for '\n' in output stream (with exception of Cout()).

The reason is that such test has very negative impact on Stream performance and it seems to be not very difficult to manage this in client code.

Mirek

[Updated on: Sat, 07 June 2008 10:46]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MemoryBreakpoint definition?
Next Topic: NULL
Goto Forum:
  


Current Time: Mon Aug 25 20:01:13 CEST 2025

Total time taken to generate the page: 0.11543 seconds