S
Someonekicked
if you create a new file , open it and only hit enter then save. if you use
seekg(0,ios::end) and then tellg(), tellg() will return 2 (not 1); so new
line character is considered as two characters.
Is there a possible way so new line character can be considered (reading and
writing) as one character ? I need that in my program and the new line
character being two characters is messing up everything.
seekg(0,ios::end) and then tellg(), tellg() will return 2 (not 1); so new
line character is considered as two characters.
Is there a possible way so new line character can be considered (reading and
writing) as one character ? I need that in my program and the new line
character being two characters is messing up everything.