if i open a file ouput using ofstream it's openmode is set to ios::out and ios::trunc...
what I have to do, if I want to have only the ios::out flag...not the ios::trunc flag.Because, it is deleting all the previous contents.
How do i undo this flag?or, what to do, if I want to remove it, at the moment of initialization?