| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Fread problem |
Hi Karl, KC>When i do multiple fread in a file, the position of the file isn't updated. It is in all the compilers I've used. KC>Why? What should i do to correct this? Thanks in advance. If you show us the code that is giving the problem including the file open, preferably in a compileable excerpt, then we can tell you. One obvious thought is:- have you opened the file in "append" mode? If so the file pointer is updated by the reads, but all writes go to the end of the file (as specified by the open mode) and it appears at first inspection as a compiler bug when in fact it's a programmer error. George * SLMR 2.1a * Computers eliminate spare time. --- Maximus/2 3.01* Origin: DoNoR/2,Woking UK (44-1483-717904) (2:440/4) SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728 SEEN-BY: 639/252 670/213 218 @PATH: 440/4 255/1 252/356 140/1 270/101 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.