aspose file tools*
The moose likes C / C++ and the fly likes EOL char when compiling & running on Mac Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "EOL char when compiling & running on Mac" Watch "EOL char when compiling & running on Mac" New topic
Author

EOL char when compiling & running on Mac

J Solomon
Ranch Hand

Joined: Oct 08, 2012
Posts: 30


Output:
1 2 3 4 5 %

Just wondering if anyone else hit this, looks like when you compile and run on mac, the EOL char is tacked on the end of the output. Do not see this when I compile and run on just about any other machine.

Here is the output of 'g++ --version':


Anyone have any explanation for this one? Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EOL char when compiling & running on Mac