----------------------------------- -=> Quoting Elliott Solomon to All <=- ES> Hi! ES> Does anybody know where I can get a free copy of MASM 6.0 or TASM? Sorry ... if you want a copy of MASM or TASM you'll just have to pay for it like everyone else; unless of course you pirate a copy or someone just wants to give one away. -bwr- ... "It compiled? The first screen came up? Ship it!" -- Bill Gates --- GEcho 1.20/Pro * Origin: (1:363/319) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00009 Date: 03/19/97 From: JERRY COFFIN Time: 11:31am \/To: DARIN MCBRIDE (Read 7 times) Subj: Help with Classes On (18 Mar 97) Darin McBride wrote to Jerry Coffin... JC> Now, for how I'd do this instead: JC> class PlayerInfo // Note that `class' canNOT be capitalized. JC> { JC> public: // And neither can `public' or `private' JC> virtual void show_status(ostream &stream) { JC> cout << "Hit Points: " << itsHitPoint << endl; JC> } DM> So, remind me... why did you pass in the ostream&? :-} Geeze - I should quit posting for a couple of days until I can manage to learn to type what I mean to again. I've never been the best at it, but I seem to be getting a lot worse lately... Obviously, the "cout" should be replaced with "stream"... Later, Jerry. ... The Universe is a figment of its own imagination. --- PPoint 1.90 * Origin: Point Pointedly Pointless (1:128/166.5) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00010 Date: 03/18/97 From: NEIL HELLER Time: 06:47pm \/To: CHRIS DOWNS (Read 7 times) Subj: FSEEK HELP.. CD> A co-worker here got an interesting Xmas present. It was a CD> mouse pad with a bullseye. Printed on the pad was CD> CD> "Bang Head Here". What a wonderful gift idea for any employer with a DP staff. Unfortunately all employers can think about is their @*#&$^% schedule. * KWQ/2 1.2i * --- TMail v1.31.5 * Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00011 Date: 03/18/97 From: NEIL HELLER Time: 06:58pm \/To: CHRIS DOWNS (Read 7 times) Subj: STATIC? SAY WHAT? NH> Could someone please enlighten me (and tell me why it would be NH> preferable to use that form in any circumstance). NH> static int CClassName::MethodName( int SomeVar ) CD> It means there is no "this pointer" for the function. So you can CD> call it without first constructing a CClassName object. CD> Isn't it lovely the way that 'static' has been overloaded (and CD> overloaded and overloaded)?? That answers the first part of my question. Thank you. Are there any times when the function would need to be called prior to its instantiation as an object? For that matter, can you think of a viable necessity for a static function? * KWQ/2 1.2i * --- TMail v1.31.5 * Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00012 Date: 03/18/97 From: NEIL HELLER Time: 07:07pm \/To: MATTHEW JOHNSON (Read 7 times) Subj: WHAT IS STL? NH> No price was given. MJ> Obviously if the colour is right, the price doesn't matter. You should consider a marketing career. * KWQ/2 1.2i * --- TMail v1.31.5 * Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00013 Date: 03/18/97 From: NEIL HELLER Time: 07:56pm \/To: ALL (Read 7 times) Subj: BCD and "folding" Given the following: string foo = "12345678"; Is there a built-in or easily obtainable function for converting foo to a "BCD type" (if there is such)? Would such a conversion automatically "fold" foo so that the result would only require 4 bytes instead of the minimum (9?) otherwise required? Just thinking about it some more, it seems that a BCD class would be in order. How could I go about investigating the existance of same? Would anyone care to speculate on the comparitive difficulties of doing this in C as opposed to C++? * KWQ/2 1.2i * --- TMail v1.31.5 * Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00014 Date: 03/19/97 From: HERBERT BUSHONG Time: 10:20am \/To: JOSHUA BOEHME (Read 7 times) Subj: Linker Error ::> I am using an old version of Borland Turbo C++ to write a door with the ::> Opendoors package. Once I reach a certain program length, I get a linker ::> of "Segment __TEXT exceeds 64k". Does anyone know how to get around this ::> and/or fix it? You have too much source in one file. Break it up into 2 or more so that each is under 64k in size. # Herbert Bushong harchon@centuryinter.net [TEAM OS/2] - Blackbeard's BBS Intelec: 239:600/0 + Fido: 1:19/19 http://www.win.net/eunicecity/stltcc/hbush/ --- RM 1.31 2508 To any objective person it'd be obvious that I'm right. * Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00015 Date: 03/19/97 From: NEIL HELLER Time: 07:17pm \/To: MIKE PHILLIPS (Read 7 times) Subj: IT DOESN'T WORK! NH> EasyWin? NH> Whazzat? MP> It's a fake console mode. It makes a "console window", and all MP> stdout and stderr messages go to that window. It also accepts MP> input from stdin. You can also use it in a full windows program MP> by calling _InitEasyWin(), possibly to print error messages to a MP> console window as is common in UNIX and OS/2, except that you MP> don't have to redirect the streams, the library does the MP> redirection for you. Oh... that. Yes, TC 4.5 has that. At least the copy I have does that. That's really a very nice feature in case you want to write something down and dirty to prove a point (usually to yourself). * KWQ/2 1.2i * --- TMail v1.31.5 * Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00016 Date: 03/19/97 From: NEIL HELLER Time: 07:21pm \/To: HERMAN SCHONFELD (Read 7 times) Subj: STATIC? SAY WHAT? NH>static int CClassName::MethodName( int SomeVar ) HS> static means that the value assigned to it is only known with the HS> current compile. It's basically the same as a HS> const int blah = 12345678; So you're saying that the only thing affected is the return value? I don't think so. * KWQ/2 1.2i * --- TMail v1.31.5 * Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55) --------------- FIDO MESSAGE AREA==> TOPIC: 203 C++ Ref: E3P00017 Date: 03/19/97 From: NEIL HELLER Time: 07:27pm \/To: THOMAS MAEDER (Read 7 times) Subj: STATIC? SAY WHAT? NH> static int CClassName::MethodName( int SomeVar ) TM> Are you sure it looked exactly like this? Not _exactly_ like that - I changed the names to make my point more obvious. The "static int", however, _are_ exactly as they were in the original. TM> The keyword "static" is used for two purposes in C++. TM> 1. in class declarations to declare class methods/attributes. TM> 2. in implementation files to prevent the name of a function/ TM> variable/constant from polluting the global namespace. I think maybe there are three, as can be seen by the replies I've already gotten. * KWQ/2 1.2i * --- TMail v1.31.5 * Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55)