hi, i want to extract data from a line.
in.getline(buff,100); // in is an inputstream object
if(sscanf(buff,"%d %d",&var1,&var2)==2) // what is the C++
//version of this line ?
there are several ways to read data...but i want to know, what is the equivalent code for sscanf() in C++ ? is it possible at all ?