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
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
Greenhorn

Joined: Oct 08, 2012
Posts: 23


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.
 
wood burning stoves
 
subject: EOL char when compiling & running on Mac
 
Similar Threads
Marcus Exam Q#54
Post Increment Operator
Marcus Green exam #3 question 54
No increment at all??
Just Basic