|
Re: Converting Data EasyC
Is that going to be given to you as 3 separate variable?? Then you can just insert those variables into the formula. answer = Variable1 + (Variable2/60.0) + (Variable3/3600.0);
If you are given a string in that exact format then you would have to use a "Tokenizer and Tokens" not sure how you would do that in C or EasyC. If you would like how to do it in C++ send me an e-mail and I will send you some sample code.
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
|