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 » CR visibile with notepad
Re: CR visibile with notepad [message #18210 is a reply to message #18192] Tue, 16 September 2008 20:04 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1215
Registered: March 2006
Location: Italy
Senior Contributor
mr_ped wrote on Mon, 15 September 2008 15:28


Basically you somehow managed to tell C++ to translate "\n" as 0x0A (or 0x0D only, one of those, check binary hex view if you have some handy viewer at hand).
How to fix that ... either switch the C++ compiler back to MS-DOS like line endings, or instead of "\n" use "\015\012".



I have discovered that if I use

out.PutLine( astring );

in Windows is automatically added \r\n instead of the simple \n.
This resolve my problem.
Thanks,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there a way to fetch objects w/o default constructor?
Next Topic: C++ parsing
Goto Forum:
  


Current Time: Thu Sep 04 01:20:24 CEST 2025

Total time taken to generate the page: 0.04770 seconds