KF> Hello everyone, could some body please help me.. I'm trying to write a
KF> structure to a file, but i can't get it.. i've tried commands like WRITE,
KF> FWRITE, FPUTS, PUTC , PUTS etc etc.. but can't get it to go.. I think my
KF> structures right, here it is:
You want fwrite, NOT FWRITE.
KF> typedef unsigned byte char;
You want unsigned char byte.
Actually, you just want char. What is the reason you are making your
char's unsigned?
KF> STRUCT names {
You want struct, NOT STRUCT.
KF> byte firstname;
KF> byte lastname;
KF> };
KF> STRUCT names writenames;
KF> Will that work?? :-).. any help would be appreciated.. thanks..Cya!
None of this should have compiled even. BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|