| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Help with Ra |
Hello all, I have the C structures for Remote Access, am using
QuickC and was wondering if anyone could help me with using the structures
to get the data, i get the general idea but the data i get is usually
garbled, mainly after the first entry ... EG
Jahmai Lay
Ahmai Lay SDFsd9usats
Ylsa asdsadfsa
Like so, same with Time, Baud etc etc, ... could someone give me a CLEAN
example of how to copy the strings from a file using the following
structures ;
struct LCrecord {
unsigned char Line;
unsigned char Name[36];
unsigned char Handle[36];
unsigned char City[26];
unsigned int Baud;
long Times;
unsigned char LogOn[6],
LogOff[6];
unsigned char Attribute;
};
I then Open the file, declare some strings that i copy info to etc etc and
using a While loop with FREAD, I read sequential data and strncpy or strcpy
the records, is this correct? If so could someone please indicate any
problems .. a proper example would be greatly appreciated.
Cheers!, Jahmai.
@NOTE: IceEdit 1.60 [Eval]
--- GEcho 1.00
* Origin: Abduction BBS -- We DON'T Deliver! -- +61-63-72-6855 (3:623/682)SEEN-BY: 50/99 78/0 620/243 623/353 411 624 630 631 682 683 689 812 711/401 SEEN-BY: 711/409 410 413 430 808 809 932 934 712/515 713/888 714/906 800/1 SEEN-BY: 7877/2809 @PATH: 623/682 624 812 630 711/808 809 934 |
|
| 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™.