TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: George White
from: Tom Torfs
date: 1998-09-03 17:07:52
subject: FRead

George White wrote in a message to David Van Hoose:

 GW> struct {
 GW>  int number;
 GW>  char string[25]'
 GW>  } test_struct;

 GW> fread (test_struct,sizeof(test_struct),1,file);

Stick an & in right after the first opening parentheses, and I might
agree with that :-) Also the parentheses for sizeof are superfluous in this
case.

greetings,
Tom
tomtorfs{at}village.uunet.be

--- timEd/2 1.10+
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)
SEEN-BY: 396/1 622/419 632/0 371 633/260 267 270 371 634/397 635/506 728 810
SEEN-BY: 639/252 670/213 218
@PATH: 292/516 106/1 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™.