I am trying to use a ostringstream object from sstream library file. I am using << to perform a formatted output operation. Using ostr<<(arg) operation will cause ostr to store the argument as a string. Then I use ostr.str() function to read the arg into a string object. Now my problem is I want to clear whatever has been stored in ostr object and pass another arguement to it. How can I do it? Reply asap.Thanks.