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 #18192 is a reply to message #18191] Mon, 15 September 2008 15:28 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 826
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
Notepad requires old MS-DOS end of line.
Wordpad does work even with UNIX end of line style.

See for example: http://ccrma-www.stanford.edu/~craig/utility/flip/
for more information.

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".

Or stop using notepad :/
 
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:26 CEST 2025

Total time taken to generate the page: 0.09899 seconds