CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (82 messages)

From: John M. Dlugosz DDJ Forum · Forum Business March 28, 1990 1:06 PM
yup, that is an error all right. I can see what is going wrong. I'll pass your problem along to Walter & co. Yea, get another compiler and use it as a LINT checker. Zortech does not report as many errors as it should, and it is nice to make…
#24599 DOS CALL TRACING? Message #24610
From: John M. Dlugosz DDJ Forum · Telecommunications March 28, 1990 1:05 PM
The WATCH program that comes with JPI C's TechKit is just what you need. It can diagnose DOS calls and write them to disk, and is settable as to which calls is reports. I've used it to figure out what was wrong with a program that gave me insufficiant error…
#24581 #Apr. 90 Listings Message #24586
From: John M. Dlugosz DDJ Forum · General/DDJ office March 26, 1990 7:16 PM
why not have a subtopic for "late program listings" so the questions don't get posted in the general topic? THe regulars can switch out that topic. Or better yet, include a note in the Welcome screen, so people who log in just to ask about listings will know the current…
From: John M. Dlugosz DDJ Forum · General/DDJ office March 22, 1990 1:36 PM
hey, even with the old clunky COMMAND.COM, can't you put an argument in quotes to prevent interpretation of it? –John
From: John M. Dlugosz DDJ Forum · Forum Business March 22, 1990 1:36 PM
The DRM is the AT&T 2.0 spec. It is well worth getting ($20 I think). I don't know the part number, but if you call AT&T you can find it. Also get the "essential readings". All that comes with C++ compilers, except for Zortech. The ARM is the "annotated reference…
From: John M. Dlugosz DDJ Forum · General/DDJ office March 21, 1990 2:30 PM
You can use '|' on a 4DOS command line, if escaped by a ^X first. BTW, 4DOS has a new version out. It has SWITCHAR support, and is selectable with the SETDOS command instead of goofy interrupts. It also allows a forward slash as a dir seperator in most places.…
From: John M. Dlugosz DDJ Forum · Forum Business March 21, 1990 2:30 PM
Yea, you're right. I had been thinking about the line in the DRM that says, "If a function mentioned as a friend has not been declared its nam is entered in the same scope as the name of the class containing the friend declaration." which says nothing about only allowing…
From: John M. Dlugosz DDJ Forum · Forum Business March 20, 1990 1:20 PM
yup, that is a compiler bug. Looks like the 'friend' declaration only sticks if the function already exists, or the declaration of trans in Matrix somehow un-friends it. Wierd, but true. I'll forward this message to Walter. –John
#24497 DOS Utilities Message #24510
From: John M. Dlugosz DDJ Forum · General/DDJ office March 20, 1990 1:20 PM
really? I remember when it was rather cheap. I guess he upped the price. I remember hearing that there was almost no price resistance in that product catagory.
#24488 #DOS Utilities Message #24490
From: John M. Dlugosz DDJ Forum · General/DDJ office March 18, 1990 10:46 PM
for TSR stuff, get TesSeRact from CLMFOR. Saw a review on YACC stuff for PC's a while back, but things have changed since. As I recall, QParser is not longer available and the other one (I forget the brand) is about the same. LALR though is updated and hotter than…
#24407 C++ types Message #24411
From: John M. Dlugosz DDJ Forum · Forum Business March 9, 1990 2:49 PM
Yea, ANSI drafts ahve been a wonderful boost to C programmers. My toolbox compiles under many brands, with only slight hanges in 1 header file. –John
#24407 #C++ types Message #24410
From: John M. Dlugosz DDJ Forum · Forum Business March 9, 1990 2:49 PM
I guess we're coming from two different worlds. I'm working on defining the language, and have studied the language long before I could actually compile it. I see the _bugs_ in the compiler then when I try to use them. So your book is specific to Zortech 1.06's implementation of…
#24404 C++ &-Referencing Message #24409
From: John M. Dlugosz DDJ Forum · Forum Business March 9, 1990 2:49 PM
yea, it is not easy to follow even if you do know assembly. But once you get the hang of it, you learn the kind of code the compiler generates. I used to debug Zortech with Periscope. I debugged the compiler as much as my own code! Good luck. –John
#24399 #C++ types Message #24403
From: John M. Dlugosz DDJ Forum · Forum Business March 7, 1990 3:58 PM
Which Cfront are you teaching? Your readers will have 2.1, a bug-fix version, pretty soon. So if you teach the bugs the compiler will not match any more. I prefer to say what is right, and then discuss various compiler's beefs with it. Such a feature is to be avoided…
#24398 #C++ &-Referencing Message #24402
From: John M. Dlugosz DDJ Forum · Forum Business March 7, 1990 3:58 PM
The hidden parameter is used for normal functions. The static area (no hidden parameter) is used for variadic functions. No temps? You've got to put intermediate results _somewhere_. Consider c=a+b+c; the result from a+b has to be stored somewhere (won't fit in a register!) and that object then used as…
#24390 C++ &-Referencing Message #24394
From: John M. Dlugosz DDJ Forum · Forum Business March 7, 1990 3:39 AM
I keep wanting to review version control systems so I can use that line in an article. –John
#24385 #C++ &-Referencing Message #24393
From: John M. Dlugosz DDJ Forum · Forum Business March 7, 1990 3:39 AM
The _TEMxx is the hidden parameter for the answer area. The caller tells the function where to put the result. Variadic functions will have a static buffer in them and the function returns a pointer to that buffer, which contains the result. The caller than immediatly copies it back out…
#24379 PC disk support? Message #24384
From: John M. Dlugosz DDJ Forum · Telecommunications March 6, 1990 3:01 PM
the think I was looking for is code to add a disk drive to a microcontroller application. The 68HC11 is a primitive 8-bit computer. But the whole thing is on one chip, and it is cheap. –John
From: John M. Dlugosz DDJ Forum · General/DDJ office March 6, 1990 3:01 PM
There is nothing special about using a member pointer in another class. A parameter is a parameter, a variable is a variable. Zortech does not yet support member pointers. They decided to release it before it was finished, figuring not many would notice. It will be available some day. The…
#24378 #C++ types Message #24382
From: John M. Dlugosz DDJ Forum · Forum Business March 6, 1990 3:01 PM
sorry, now I remember a thread dealing with navigational problems in the DRM. Just replace my previous detailed message with "RTFM". Just kidding… I'll remember that you have a manual, and just point you in the right direction. As for this question in particular, I just looked up "enumeration" in…
#24376 #C++ &-Referencing Message #24381
From: John M. Dlugosz DDJ Forum · Forum Business March 6, 1990 3:01 PM
that is a big difference I expect in a C++ library. Just have _one_ function name! float abs (float&); double abs (double&); int abs (int); long abs (long); void abs (unsigned); //to trigger a compiler error etc. –John
#24364 #C++ types Message #24368
From: John M. Dlugosz DDJ Forum · Forum Business March 5, 1990 4:14 PM
Enums are distinct types. They are distinct from each other, and distinct from ints. You can overload functions based on different enum typed parameters. You can implicitly convert an enumeration constant to an int, but not vice-versa. The type of an enumeration is the enumeration type. Order a reference manual…
From: John M. Dlugosz DDJ Forum · General/DDJ office March 5, 1990 4:14 PM
#24360 C++ &-Referencing Message #24366
From: John M. Dlugosz DDJ Forum · Forum Business March 5, 1990 4:14 PM
yes, working in C does get tedious. I can't wait to get this finished and jump into my C++ book. Moving back and forth bothers me a little too, since they are so similar. I found that translating some of my C stuff to C++ was trivial. I had something…
#24359 C++ &-Referencing Message #24365
From: John M. Dlugosz DDJ Forum · Forum Business March 5, 1990 4:14 PM
I'm not in tune with the pholosophies either. Would rather make money with my programming. So it is not the code itself that bothers you, just the fact that you could not possibly use it for anything? –John
#24353 PC disk support? Message #24355
From: John M. Dlugosz DDJ Forum · Telecommunications March 4, 1990 6:17 PM
I don't remember the reference. When I do recal recently was looking for someone to write some functions for a 68HC11 application to manage a drive controller. PC compatable format would be ideal, or have a utility on the PC to read such disks. I might have mentioned the possibility…
#24343 #C++ &-Referencing Message #24349
From: John M. Dlugosz DDJ Forum · Forum Business March 4, 1990 3:56 AM
last week I got the official adgenda for the meeting. Also included was the report from the goals work group. I'm sure all the members have gotten it by now. Have not looked at the GNU code really. Just used it as a compiler breaker. What have your principles got…
#24344 #C++ &-Referencing Message #24348
From: John M. Dlugosz DDJ Forum · Forum Business March 4, 1990 3:56 AM
True, having the language directly support the concepts is a _huge_ benifit. But once you start OOPing, it affects everything you do. That is why you should know a viriety of languages– it helps you think better in _any_ language. Ever notice how many C++ programmers _don't_ program use OOP?…
#24336 #C++ &-Referencing Message #24342
From: John M. Dlugosz DDJ Forum · Forum Business March 3, 1990 6:11 PM
Have you gotten the adjenda yet? The idea thus far (in the goals workgroup) is to standardize the core language in a draft asap, and then work on libraries and language extensions. That will give compiler writers something to work with the fastest. I think (personally) that a standard lib…
#24334 #C++ &-Referencing Message #24341
From: John M. Dlugosz DDJ Forum · Forum Business March 3, 1990 6:11 PM
Reminds me of a joke: Hear about the insane object oriented programmer? He had madness in his methods. I like the bumber sticker: C++ Programmers do it with class. A while back I was working on my editor, in C. It is possible to be object oriented in any language,…
#24317 DICTIONARY Message #24327
From: John M. Dlugosz DDJ Forum · General/DDJ office March 2, 1990 12:24 AM
Poximity is my far the best. Costs $15,000 for the source, plus a royalty on each item sold. If you really need spell checking, it is worth it. I saw some other spell checkers, but don't remember any names. Must be around somewhere. –John
From: John M. Dlugosz DDJ Forum · Forum Business March 2, 1990 12:24 AM
I remember seeing a table somewhere that has an entry for each drive letter, and an explaination of it. Where could that have been?? –John
#24316 #C++ &-Referencing Message #24325
From: John M. Dlugosz DDJ Forum · Forum Business March 2, 1990 12:24 AM
One way C++ code is more reusable is that you can alter it without modifying the original source files. Makes it easy to take something and incorperate it with changes, and you don't have multiple almost-same code to maintain. Also, safty features so if code is being used by someone…
#24303 C++ &-Referencing Message #24307
From: John M. Dlugosz DDJ Forum · Forum Business February 28, 1990 3:27 PM
In the new version, he got a co-author. I never had any trouble with the C++ Reference Manual. I guess I'm used to textbook style. –John
#24296 #C++ &-Referencing Message #24306
From: John M. Dlugosz DDJ Forum · Forum Business February 28, 1990 3:27 PM
If it is used in such a context, it _will_ have storage defined. The compiler has the option of not generating storage only if it is never needed for anything.
#24302 #C++ &-Referencing Message #24305
From: John M. Dlugosz DDJ Forum · Forum Business February 28, 1990 3:27 PM
Zortech 2.06 is useable. Good luck. Never heard of Computer Language? Well, you'll just have to subscribe to see what you've been missing! –John
#24300 C++ &-Referencing Message #24304
From: John M. Dlugosz DDJ Forum · Forum Business February 28, 1990 3:26 PM
As I understand it, your problem is linking with the ASM stuff. WHen prototyping the asm functions, use the "C" qualifier. extern "C" assembly_function (int, int); for example. Just stick in the "C" on all the prototypes for the ASM calls. Alternativly, change the name of the ASM function to…
#24233 #C++ Question Message #24239
From: John M. Dlugosz DDJ Forum · General/DDJ office February 22, 1990 4:37 PM
Think we could bottle it? Bjarne said he likes BIX better than the newsgroups, because we really get things done there. So why does the C++ report show "best of comp.lang.c++" insted of "best of BIX" ?
#24156- Day of the Week Message #24173
From: John M. Dlugosz DDJ Forum · Hot News & Rumors February 20, 1990 3:28 AM
int day_of_week (int MM, int DD, int YY) { static int mo[]= {0,3,3,6,1,4,6,2,5,0,3,5}; int total= (YY + YY/4 + mo[MM] + DD); if (YY/4 == 0 && MM < 3) //no leap yet total–; return total % 7; } This works on all dates in the 20th century, and if…
#24076- #C++ Question Message #24096
From: John M. Dlugosz DDJ Forum · General/DDJ office February 17, 1990 5:39 AM
Bjarne mentioned something interesting at dinner one evening… Since the number of C++ programmers is doubling every 8 months, that means that the average experience of a C++ programmer is 4 months.
#23738 Windows and Novell Message #23743
From: John M. Dlugosz DDJ Forum · General/DDJ office January 25, 1990 2:15 PM
that is a lousy limitation. You think they would have learned something from Unix's design.
From: John M. Dlugosz DDJ Forum · Forum Business January 24, 1990 2:12 PM
There are a couple advertised in current issues of CLM and DDJ. I gave AutoFlowC a spin, and it works OK. –John
#23728 #std_out to window Message #23733
From: John M. Dlugosz DDJ Forum · Hot News & Rumors January 24, 1990 2:11 PM
check out NANSI.SYS. SOurce code included for a console device driver.
#23725 #Windows and Novell Message #23732
From: John M. Dlugosz DDJ Forum · General/DDJ office January 24, 1990 2:11 PM
trace through the Load Program service in DOS and see what is going on. Net3 must patch it somehow or it would in fact look just like any other open. Perhaps it is trivial– the hook notices that LoadProgram has been called. Perhaps not. But you can easily find out…
From: John M. Dlugosz DDJ Forum · Forum Business January 23, 1990 3:32 PM
since you can hold off, check out the upcoming May issue of CLM. It is the annual C issue, and will contain an all-out review of 12 compilers for DOS. –John
#23714 C/E/VGA Message #23723
From: John M. Dlugosz DDJ Forum · Forum Business January 23, 1990 3:32 PM
See Summer's C Gazette. I have a very short program to do just that (just makes a single BIOS call) but not on this machine. –John
shorted Message #23713
From: John M. Dlugosz DDJ Forum · General/DDJ office January 22, 1990 2:29 PM
I noticed last night that in the Feb. issue that "Swaine's Flames" starts on page 160. However, the magazine only has 152 pages. Can you send me an update? –John
#23688 Windows and Novell Message #23704
From: John M. Dlugosz DDJ Forum · General/DDJ office January 20, 1990 3:24 PM
P.S. there is a loader in Wendon's Operation System Toolbox. It is easier than I thought. –John
#23688 #Windows and Novell Message #23703
From: John M. Dlugosz DDJ Forum · General/DDJ office January 20, 1990 3:24 PM
I was just thinking of making a program that copied EXE-only programs 🙂 It could trick the network into thinking it was a loader, and grabbing the bits instead of processing them. –John
From: John M. Dlugosz DDJ Forum · Forum Business January 20, 1990 3:24 PM
re VID using multi-language: CodeView has done that for years. So has Periscope, but it doen't mean as much. Personal bias? Yes, I hate them all. 🙂 Watcom 7.0 was the first one I saw that claimed 100% compliance. Then came Lattice. The hard part is the libraries– LOCALE stuff…

Page 1 of 2