> I have using namespace std; > But I still receive `ostringstream' undeclared (first use this function) Sorry, there is no implementation of ostringstream or istringstream in gcc 2.95.x. It will be supported in 3.0. You may be able to work around this lack by using ostrstream instead, though it is not as nice a class.