Hi, I seem to be having trouble doing this.
I have a text file containing: 173 44 84 0 25
and when I read in the numbers and try to spit them back out, I get: -1.00 -1.00 -1.00 -1.00 -1.00
Here's the code.
int main()
{
/* define local variables */
FILE *firstfile;
float...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.