Cosa icon indicating copy to clipboard operation
Cosa copied to clipboard

IOStream: Add stream position

Open mikaelpatel opened this issue 10 years ago • 1 comments

Add position such as character and line (row/column). Alternatively make print/write return number of characters.

mikaelpatel avatar Nov 18 '15 20:11 mikaelpatel

IOStream::println() or endl() should reset position and increment line (if added). Other print functions should update position with number of characters written. Character vectors, strings, are not checked for new-line carriage return. This is a simplification.

mikaelpatel avatar Dec 02 '15 09:12 mikaelpatel