CompuServe Archive

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

Search Results (749 messages)

From: Mike Floyd/DDJ DDJ Forum · General/DDJ office March 12, 1990 1:41 PM
Chris, Give the BBS a call at 603-882-1599 (Type Listings at the Password: prompt).
From: Ben Klausner DDJ Forum · Forum Business March 12, 1990 1:15 PM
Some time last year I ran accross an unusual naming convention for variables in C. Each name included an identifier for the type of variable. This seems like it would be useful for a project I am doing, where there is a significant chance of accidentally mixing up types during…
#24426 Library listings? Message #24429
From: Dale H. Cook DDJ Forum · General/DDJ office March 12, 1990 10:21 AM
Gardner – I'm working on one right now – should be uploading it in a day or two. – Dale
#24423 curses Message #24428
From: Al Stevens DDJ Forum · Forum Business March 12, 1990 9:57 AM
The curses library comes with the Lattice C compiler. Lattice sells the source code to the library for $125.00. Al Stevens
#24424 IEEE Floating Point Message #24427
From: – Visitor DDJ Forum · General/DDJ office March 11, 1990 8:53 PM
Thanks for the response, jon. Much easier having it explained than figuring it out from the hex! Dave R.
#Library listings? Message #24426
From: Gardner Pomper DDJ Forum · General/DDJ office March 11, 1990 6:24 PM
Hello, Are there summary files listing what files are available for downloading? I haven't been able to find any with the keywords SUMMARY, LIB or DES. – Gardner
From: Dale H. Cook DDJ Forum · General/DDJ office March 11, 1990 6:23 PM
Peter – I'm working on it – it should be ready in a day or two – Dale
#24420 #IEEE Floating Point Message #24424
From: jon lewanda DDJ Forum · General/DDJ office March 11, 1990 6:06 PM
Floating point numbers are not real 🙂 easy to work with but here goes: An IEEE 754 Double Precision (64 bit) number has 3 parts: Bit 63 (the MSB) is the sign of the number. Bits 62 – 51 (11 bits) are the biased exponent. Bits 51 – 0 (52…
#curses Message #24423
From: John Linzmeier, Jr. DDJ Forum · Forum Business March 11, 1990 5:45 PM
My cousin is still eager for that real cheap curses package from Lattice that cost only $125.00 that you mentioned in the Febuary issue. Where did you find it?
From: William Pottinger DDJ Forum · General/DDJ office March 11, 1990 12:43 PM
Sysop, I have been unable to locate the code listing on 3-D graphics and X-windows from the Feb. 1990 issue. Can you pleas direct me to them. William Pottinger 71061,1577
From: Peter Koehnkow DDJ Forum · General/DDJ office March 11, 1990 3:36 AM
I would be glad to have an catalog in this forum. -Peter
#IEEE Floating Point Message #24420
From: – Visitor DDJ Forum · General/DDJ office March 11, 1990 12:44 AM
I am trying to decode a Lotus 1-2-3 file and I find real numbers stored in 64 bit IEEE floating point format. Can anyone tell me how that works? Thanks a lot
C printer drivers? Message #24419
From: Steve Stearns 1V5 DDJ Forum · Amiga at Work March 10, 1990 8:45 PM
I could use some help. I would like to increase the utility of a C program by increasing the number of graphics printers it can use. It runs under dos on a P.C. type machine. I would like some recommendations on whether I am better off finding printer drivers in…
#24412 Motorola RISC & DOS Message #24418
From: Richard B. Gilbert[VAX] DDJ Forum · Off the Cuff March 10, 1990 6:36 PM
Jim, It seems to me that, to run MS-DOS or OS/2 on any non-80×86 processor, you would have to write, not only an emulator for the 80×86 processor but also provide a BIOS in either native or emulation mode. It also seems to me that any possible performance advantage would…
#24372 FD.ARC Message #24417
From: Robert Funk DDJ Forum · General/DDJ office March 10, 1990 12:59 PM
I can't seem to find FD.ARC anywhere. Can you help? Thanks Robert
From: Jim Mischel DDJ Forum · Forum Business March 10, 1990 12:20 PM
Don Thanks for the info! It is working from the wrong direction, tho. I'm not about to write a program that searches the entire directory structure looking for JOINed subdirectories. An interesting DOS call tho….have any more you wanna tell me about? Better yet, is there a book somewhere that'll…
#24410 C++ types Message #24415
From: Al Stevens DDJ Forum · Forum Business March 10, 1990 8:52 AM
No, my book is not Zortech specific. It is a C programmer's C++ tutorial and is about C++ 2.0, and avoids anything "tricky" if I can help it. It has many compilable exercises, some of which do not work with Zortech 2.0, particularly the chapter on iostreams. I asked a…
#24408 #C++ types Message #24414
From: Al Stevens DDJ Forum · Forum Business March 10, 1990 8:25 AM
Agreed, when viewed from the perspective of the compiler developer/purveyor such as yourself, the RM should be the guiding light. But from the perspective of the working programmer or the teacher of programmers, the way things work should prevail. You've got to use what's out there. Bjarne is a commanding…
From: Daniel G. Nimtz DDJ Forum · General/DDJ office March 9, 1990 9:23 PM
I am trying to locate the Modula2 source code for the DHRYSTONE Benchmarks. Anybody help me locate? Thanks, Dan Nimtz
#Motorola RISC & DOS Message #24412
From: Jim Fowler DDJ Forum · Off the Cuff March 9, 1990 9:17 PM
I would be very interested in talking to anyone who is doing software development for the Motorola 88xxx RISC processor. I'm presently working on a project involving the 88100 + 88200 and am seeking information about running MS-DOS or OS/2 on this architecture. I'm using an OPUS 88xxx and Motorola…
#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
#24407 #C++ types Message #24408
From: Greg Comeau@Comeau Cmptg DDJ Forum · Forum Business March 8, 1990 10:24 PM
Hmm, if I may interject: Agreed we don't have a standard in the sense of ANSI C++ yet, however we do have three things at this date: an ANSI C standard, a reasonable C++ document, and Bjarne Stroustrup (and not necessarily in that order that puts us in a very…
#24403 #C++ types Message #24407
From: Al Stevens DDJ Forum · Forum Business March 8, 1990 12:03 PM
In the absence of a standard, there are no bugs, only implementations. The bugs are in the eyes of the creator, not the user. What the user sees is how it works. Even with a moving target, you must teach beginners about the real world. Ivory tower stuff might be…
From: Chris Boaro DDJ Forum · General/DDJ office March 8, 1990 1:31 AM
Help. Can anyone tell me where I can find the code from Personal Workstation? The cover indicates that the code can be found here. I'm looking for the timed execution program for OS/2. Thanks. Chris
From: Don E. Groves, Jr. DDJ Forum · Forum Business March 7, 1990 8:12 PM
Jim, After typing the below description I came to the thought that this is working from the wrong position, tell me so if its true. But maybe it will help give you and idea anyway. I don't know if this will help but an undocumented DosCall with AH = 60h…
#24402 #C++ &-Referencing Message #24404
From: Bob Goldrich DDJ Forum · Forum Business March 7, 1990 7:09 PM
I'm gonna take a look at the disassembled code to see exactly what is going on. Actually, I already did this but, not being proficient at assembly language, I didn't give it a lot of time. I'll make an integer version of my code to keep the asm simple, and…
#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…
NETWORKING Message #24401
From: CARL MCMULLEN DDJ Forum · General/DDJ office March 7, 1990 12:25 PM
I AM STARTING ON A PROJECT WHERE I NEED TO WRITE AN INTERFACE BETWEEN OUR NOVELL TOKEN RING NETWORK AND ULTIMATELY THE WORLD OF X.25. I HAVE THE X.25 SPEC AND AS I EXPECTED IT HAS A LOT OF DETAIL AND IS A GREAT REFERENCE BUT I AM ALSO INTERESTED…
#24388 Interupt.h, Extend.. Message #24400
From: Al Stevens DDJ Forum · Forum Business March 7, 1990 11:56 AM
Cristian, Here it it: /* ———– interupt.h ———— */ /* ——- the interrupt function registers ——– */ typedef struct { int bp,di,si,ds,es,dx,cx,bx,ax,ip,cs,fl; } IREGS; #define VIDEO 0x10 #define DOS 0x21 #define KYBRD 9 #define KEYBOARD 0x16 #define TIMER 8 #define KBDATA 0x60 #define KBCONTROL 0x61 #define KBSTATUS 0x64 #define ZEROFLAG…
#24382 #C++ types Message #24399
From: Al Stevens DDJ Forum · Forum Business March 7, 1990 11:49 AM
John, The difference between "what does cfront do" and "what is right" is moot when you are teaching. Why teach what the RM says if the software doesn't work that way? New C++ programmers want to know what to expect when they code and run programs, not what some AT&T…
#24393 #C++ &-Referencing Message #24398
From: Bob Goldrich DDJ Forum · Forum Business March 7, 1990 11:35 AM
John, > The _TEMxx is the hidden parameter for the answer area. The caller > tells the function where to put the result. Is this "answer area" required when *not* using variadic functions? I have a vector class which looks (more or less) like this: class vector { int x,…
From: Dale H. Cook DDJ Forum · General/DDJ office March 7, 1990 9:46 AM
Jon and everybody else – Would anyone be interested in having such a catalog of the libraries here, updated each month? (similar to those in the IBM forums) I prepare such a catalog monthly for a few forums, and could easily add this one. Most of the work is done…
#24389 C++ &-Referencing Message #24396
From: Bob Goldrich DDJ Forum · Forum Business March 7, 1990 7:20 AM
Yes…again I let the jargon get the best of me. I figured that out just a little after posting the my message. Thanks. -Bob
#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…
SHELL & /UTIL Message #24392
From: Manuel Vasquez, Jr. DDJ Forum · Forum Business March 7, 1990 1:22 AM
Hey, hot stuff!!! Thanks, I'll give a shot!
#24382 C++ types Message #24391
From: Greg Comeau@Comeau Cmptg DDJ Forum · Forum Business March 6, 1990 10:08 PM
I was playing with enum's and cfront 2.0 about 2 months ago and I'm pretty sure it do' d pretty sure it do'd what the DRM said (except that int assignments to enum objects gave warnings not errors I expect as a way of staying compatible with older C programs).
#24376 C++ &-Referencing Message #24390
From: Greg Comeau@Comeau Cmptg DDJ Forum · Forum Business March 6, 1990 10:03 PM
Yes, function overloading can be very powerful. Ditto for operator overloading but only within reason (it can be easily abused and lead to cryptic programs). And yes, your abs example deals with some aspects of all this. That is why I'm a C++ enthusiant now, having been a die-hard C…
#24385 C++ &-Referencing Message #24389
From: Greg Comeau@Comeau Cmptg DDJ Forum · Forum Business March 6, 1990 9:56 PM
A variadic function is one like printf, where the number and types of argument are not know till execution time of the program.. they're function declared with ellipsis notations 'type func(type arg1 etc, …);'
Interupt.h, Extend.. Message #24388
From: UNITED NATIONS-ECLAC-STG DDJ Forum · Forum Business March 6, 1990 7:32 PM
Las week a bought Turbo C Memory … and Extending Turbo C books. The programs in the second book need the header file "interupt.h", but the listin is not include{ in the book. I have written a file like this: #define KEYBOARD 0x16 #define TIMER 0x1a typedef struct { int…
#24373 Listings Message #24387
From: Lee Crocker DDJ Forum · General/DDJ office March 6, 1990 7:29 PM
I couldn't find "demangled" in Webster's Ninth, but it certainly sounds like something that ought to be done to a listing. Thanks for the quick reply, and I will assume that the job is in the works.
#24377 Al's C++ window.c Message #24386
From: Michael Yard DDJ Forum · Forum Business March 6, 1990 6:35 PM
> Chances are the code from that issue doesn't work with Zortech 2.0. I > developed it with 1.7 back when I was first exploring C++, so it might not be > (probably isn't) 100% C++. Thanks for the response, though disappointing. Oh well, making modifications is often a good…
#24381 #C++ &-Referencing Message #24385
From: Bob Goldrich DDJ Forum · Forum Business March 6, 1990 3:33 PM
Hey– I like that void abs( unsigned ); bit you did! Continuing with C++ a little, the Zortech readme file states: > Variadic Pascal and C++ functions that return structures return them in a > static temporary rather than on the stack….. What? More nomenclature?!? What are "variadic" functions?? and…
#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

Page 5 of 15