M
mshngo
Hi,
What would be the best way to check whether an istringstream object has
empty buffer? I wanted to do something like:
istringstream isStr(myStringContent.c_str());
while (isStr_BUFFER_IS_NOT_EMPTY) {
//do something
}
I wanted to know how to implement isStr_BUFFER_IS_NOT_EMPTY. I did some
research on the google but still couldn't find a direct answer. I very
much appreciate your help.
Mingsheng
What would be the best way to check whether an istringstream object has
empty buffer? I wanted to do something like:
istringstream isStr(myStringContent.c_str());
while (isStr_BUFFER_IS_NOT_EMPTY) {
//do something
}
I wanted to know how to implement isStr_BUFFER_IS_NOT_EMPTY. I did some
research on the google but still couldn't find a direct answer. I very
much appreciate your help.
Mingsheng