error: ‘istringstream’ is not a member of ‘std’
snippet in c

error: ‘istringstream’ is not a member of ‘std’

user3795

If you include #include <sstream> then you must also reference the class by:

std::stringstream or declare using namespace std; before using it.