U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Fri Jul 31 23:36:36 GMT+2 2026

Total time taken to generate the page: 0.00638 seconds