GeeCON Prague 2014*
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: 28


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.
 
GeeCON Prague 2014
 
subject: EOL char when compiling & running on Mac