getline and CR, LF, CR/LF, VS/Linux
- From: Ian Semmel <isemmel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Jul 2005 09:00:05 +1000
What is the correct method for handling text files which may (or may not) have a CR character at the end of each line ?
There seems to be a difference the windows/linux VS/gcc handle the situation.
My program works OK under VS, but in linux it appears to read the first line then returns EOF ?
Thanks .
- Follow-Ups:
- Re: getline and CR, LF, CR/LF, VS/Linux
- From: Tilman Kuepper
- Re: getline and CR, LF, CR/LF, VS/Linux
- From: Gene Bushuyev
- Re: getline and CR, LF, CR/LF, VS/Linux
- Prev by Date: Re: Major linking errors - STL would be the problem
- Next by Date: Re: getline and CR, LF, CR/LF, VS/Linux
- Previous by thread: Major linking errors - STL would be the problem
- Next by thread: Re: getline and CR, LF, CR/LF, VS/Linux
- Index(es):
Relevant Pages
|