Hi I need to know when a row is over, how do i do it ?
I know that in char the end is presented by "/0"
but what about string ?
thanks a lot !!!
and if getline(....) fails what it is returned ?
and if getline(....) fails what it is returned ? |
it sets bits in the stream
due to
operator void *( )
of the base class 'basic_ios' you can.
EDIT: using the
good()
function may be more obvious
Last edited on