--------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F1200004 Date: 12/31/97 From: ANTHONY TIBBS Time: 11:56am \/To: FRANK MASINGILL (Read 2 times) Subj: Which way is more C++? FM> Which of the two versions below is better in using classes? They both FM> yield exactly the same results: (Please include why) This is the C echo, not the C++ echo, but I will give you a quick reply. I personally stick with the second method (functions are declared outside of the class definition), except for one-line function. E.g. class MyClass { private: byte Info_1; /* First variable */ byte Info_2; /* Second variable */ public: void Set_Stuff (byte x, byte y); void Get_Info_1() {return Info_1;} void Get_Info_2() {return Info_2;} }; void MyClass::Set_Stuff (byte x, byte y) { Info_1 = x; Info_2 = y; } --- PointEd 2.0 * Origin: The Tibbs' Point - Ottawa, Ontario, Canada (1:163/215.38) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F1200005 Date: 12/31/97 From: ANTHONY TIBBS Time: 12:03pm \/To: KURT TISCHER (Read 2 times) Subj: Fido *.msg structure KT> Here's a redundant post. I need to see a fido *.msg structure, if KT> anyone has that little tidbit laying around. The code can be in BASIC or KT> C, KT> I really don't care. From the FTS docs.. ----- STORED begins ----- 1. Application Layer Data Definition : a Stored Message Stored Message Offset dec hex .-----------------------------------------------. 0 0 | | ~ fromUserName ~ | 36 bytes | +-----------------------+-----------------------+ 36 24 | | ~ toUserName ~ | 36 bytes | +-----------------------+-----------------------+ 72 48 | | ~ subject ~ | 72 bytes | +-----------------------+-----------------------+ 144 90 | | | ~ DateTime ~ | 20 bytes | +-----------------------+-----------------------+ 164 A4 | timesRead (low order) | timesRead (high order)| +-----------------------+-----------------------+ 166 A6 | destNode (low order) | destNode (high order) | +-----------------------+-----------------------+ 168 A8 | origNode (low order) | origNode (high order) | +-----------------------+-----------------------+ 170 AA | cost (low order) | cost (high order) |