What is wrong with my code? The program does not print the second phrase!
Thanks for any help.Code:#include <iostream> #include <sstream> int main(){ string buffer(¨This_is_number: 56¨); string anotherBuffer(¨Initial content¨); istringstream input(buffer); input >> buffer; cout << buffer << endl; int number; input >> number; cout << number << endl; input.str(¨Another_string¨); input >> anotherBuffer; cout << anotherBuffer << endl; return 0; }