Thanks, I had no clue that sscanf exisited. Thats a pretty sweet function!
Thanks for all the help guys!
Type: Posts; User: mmattax
Thanks, I had no clue that sscanf exisited. Thats a pretty sweet function!
Thanks for all the help guys!
I had all of this. I just do't know how to read the numbers now because the Strings look like " 366 -1722 583" so im unsure how to isolate the digits and not the spaces.
any ideas?
Thanks...
Ok, I am now using fgets(), and havea condition to ignore the 'j' charecters.
But if it doesn't read a 'j' I am having trouble isolating the 3 int values on that line, is there an easy way to read...
I'll try those suggestions and post any problems, thanks.
Well I studied and knew c well about three years ago, since then, java has rotted my brain and I need some help.
What I'm doing is opening a file (see below) and writing 3 coordinates into an...