I've been using sscanf
and I think I've gotten too comfortable with it. Apparently it is deprecated too and I should use sscanf_s
, which is not standard as far as I know. So I was wondering if the STL has an idiomatic C++ replacement do the same thing?
Thanks
I do:
sscanf(it->second->c_str(),"%d %f %f %f %f %f %f %d \" %[^\"] \" \" %[^\"]",
&level, &x, &y, &angle, &length, &minAngle, &maxAngle, &relative, name,parentName);