Someone
public cpp v1 · immutablevector3df FileRead::readLineAsVector3df(){ float x, y, z; char key[] = " ", str2[] = " 23 342 30"; char* pch; std::string str; getline(*myfile, str); pch = strpbrk(str2, key); x = (float)atof(pch); pch = strpbrk(pch+1,key); y = (float)atof(pch); pch = strpbrk(pch+1, key); z = (float)atof(pch); return vector3df(x, y, z);}