Raised This Month: $ Target: $400
 0% 

Reading from the specific position..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ahujenas
Junior Member
Join Date: Oct 2006
Old 05-28-2013 , 13:57   Reading from the specific position..
Reply With Quote #1

hey, i've got some saving going on which does something like this in file:

0 23.543258 54.109849 12.4023759 10 x1 y1 z1 x2 y2 z2 x3 y3 z3....


the x y z keeps going on depending on the number (10 in this case). How can I read each X Y Z from that point and store it into such array:

tPos[10][3];

it should be like tPos[0][0] = x1; tpos[0][1] = y1; tpos[0][2] = z1; tpos[1][0] = x2; etc...
ahujenas is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode