Thread: C HELP PLEASE
View Single Post
  #4   Spotlight this post!  
Unread 14-11-2005, 21:03
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: C HELP PLEASE

It seems then that what you need to do is look up how to import data from a text file in C. Perhaps some Googling is in order?

Once you have those variables loaded, the actual algebraic formula they are asking for should be very easy to perform. Then it's a matter of looking up how to write the data back out into a file.

And of course, do you want to do this one by one for each player, or do you want to load it all at once, calculate it all at once, and write it all back out at once?