How do I get the current position in a file that a file pointer is at? I could increment a number every time I read a character from the file to keep track but if theres an easier way that anyone knows of it would be cleaner to code. Thanks
How do I get the current position in a file that a file pointer is at? I could increment a number every time I read a character from the file to keep track but if theres an easier way that anyone knows of it would be cleaner to code. Thanks
ftell?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Great thanksOriginally Posted by Salem
> Happy 7000th
Again....
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.