Hey,
I was wondering if \n by itself is translated to \r\n ASCII on Windows in C++?
I looked at this link:
Newline - Wikipedia, the free encyclopedia
and it sounds like it does in both C and C++, but just wanted to make sure.
This is a discussion on Does \n work on Windows? within the C++ Programming forums, part of the General Programming Boards category; Hey, I was wondering if \n by itself is translated to \r\n ASCII on Windows in C++? I looked at ...
Hey,
I was wondering if \n by itself is translated to \r\n ASCII on Windows in C++?
I looked at this link:
Newline - Wikipedia, the free encyclopedia
and it sounds like it does in both C and C++, but just wanted to make sure.
Yes.
I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo