Cosa
Cosa copied to clipboard
IOStream: Add stream position
Add position such as character and line (row/column). Alternatively make print/write return number of characters.
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.