I'm not sure I'm appreciating the problem.
yes i tried to make that , but first i do ot know the number of the information in the line , i just know that the first number is an float.
I think rogsters point is that you should use string parsing instead of reading directly from the file, and from your earlier posts there shouldn't be a problem with this. A getline that reads up to 1000 characters is one that reads a *lot* of potential data.
-0.01 is pose.time , 0.03 0.04 -0.5 is pose.joint_angle........
-0.03 is pose.time ,0.05 0.06 -0.005 is pose.joint_angle...