This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (749 messages)
Mike, "Kermit Meets Modula-2" by Brian Anderson appeared in the May '89 issue. Brian is working on another Kermit meets OS/2 article for us. Check back with me in a couple of weeks. — MF
TopSpeed C has an option to warn you about "Assignment in Test Expression" which has saved me a number of times, since I program mainly in Modula-2. -martin JPI
Hi Joe, I'm not real big on assembler. Is there some way of specifying a type in assembler? I knwo that .OBJ's can hold info in TYPDEF records, but can you specify that in ASM? We're talking about what gets passed to and from functions…. -Martin
Personal Workstation Mag
Message #24539
Could you please point me toward the proper DL for listings, etc. from Personal Workstation Magazine? Thank you, Jeff
What is this 'ARM'? Is it AT&T's C++ v2.0 spec? If so, I think its time I got my hands on it. Perhaps Walter should add the second error/warning message that Phil listed from cfront. That got me thinking, why, when a language is standardized, don't they try to standardize…
Thanks, Phil.
Joe Add to all that their upgrade policy which states (tho I've not seen it in writing): "This is a faster and better product than the one that it's replacing. Therefore you should not expect it to correctly compile (if at all) code that was written for the prior version"…
Turbo C handles the if (a=b) case with a warning: "Possibly incorrect assignment" JIM
Dan, In the September 1988 issue of DDJ (#143) Ken Porter benchmarked some Modula-2 compilers with dhrystone, sieve, fib, acker, fpmath, qsort, shsort, cortn, ncortn benchmarks. The function of the benchmarks is mention in Table 3 on page 69. On page 72, Ken mentions donating the code for the benchmarks…
Louis There's a DECUS (DEC user's group or something like that) LEX floating around here somewhere — public domain (I think). I don't recall there being any restrictions on using it for chargeable jobs. There used to be a YACC around too (on CLMFOR, I think — might have been…
Code Base 4
Message #24532
Hi. Has anyone had any experience working with Code Base 4 (Sequiter Software) ? I am about to start a 30 day trial period with it and would like to be aware of any anomalies or oddities that I should look out for. -Thanks
Jim, Hello again. I have been continuing to look for FD.ARC ever since you told me about it, and can't find it. I even sent a query to the sysop you had asked a week or so ago to post it, but got no reply. I did not save the…
Right. See quote from ARM in John Dlugosz message to you regarding same.
John – Sounds like 4DOS has some fine features, but I've got to write code as generic as possible if I want it to be useful to a number of people. Thanks for the tips. – Dale
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.…
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…
So, if you had 2 classes, each with a friend function which is also a member of the other class, the only way to handle this is to make one class a friend of the other? In such a situation it seems that the forward references catch up with you,…
The way I understand it, there was a decision not to allow partial definitions of a class, which is what you are doing when you declare a member function of an as yet undefined class as a friend. I'm not a compiler writer, but possibly this creates error checking problems…
The point I'm making is that you have to teach what works if the student is going to write code that has to run. If what the manual says differs with how the compiler works, you have to teach the compiler. What choice do you have? The code has to…
Don – What I'm working on at the moment is a general-purpose program with syntax similar to Irv Hoff's FIND54.COM for CP/M. For instance, on my system the IBM summary files are named IBMAPP.DIR, IBMHW.DIR, and so on. On my old Kapro I could search all the IBM Forums for…
Martin, In general, that's the only way to do it (i.e. have the high-level language "assume" it knows what the types are). Some development systems may allow for explicit typechecking, but most do not, so the only way to do it is to tell the high-level language(s) what they are,…
Eric, I've had a prejudice against MicroCrud ever since their Customer Retort department responded to a bug report with the equivalent of, "yeah, we know about it. So what?" Add to that the mess (sic) that MeSs-Windows software development is (the libraries are set up for larger memory models, yet…
John, See Phil's message and my reply. It doesn't seem to be a bug, just a 'gotcha' of C++. Thanks for the help. -Bob nst Vector& v1 ) ; says is "function 'trans' belonging to class 'Matrix' is granted access to 'Vector's private members". No knowledge of Matrix is required…
Phil, I found your answer in Lippman's book (p.179). I would have thought that my friend declaration was ok, because all the line friend void Matrix::trans( const Vector& v1 ) ; says is "function 'trans' belonging to class 'Matrix' is granted access to 'Vector's private members". No knowledge of Matrix…
Thanks Joe, I will start with some books and also with DDJ. Whats wrong with 'Billy' Gates? I like the style of MS products. Eric
Not sure I'm with that totally. For instance, in the case of C, I always followed the current guiding light (K&R, then H&S, then the drafts, now the standard) with secondary attention given to the given implementation I'm working with. I agree the given implementation must be given valid concern,…
Emeral Bay -Database sys
Message #24515
Has any one else out there tried or seen Emerald.Bay and Vulcan or the C interface library by Ratliff Software Production, Inc. Jr.
Louis, – One Book I have found useful is: Advance DOs Memory-Resident Utilities, Interrupts, and Disk Management with MS & PC DOS 2nd edition – by Michael Hyman – Published by Management Infomation Service.
Dale – What about us AutoSig users ?? Guess where stuck with BRO *.* to a capture file then use the off line Bro.exe utility. Or if where lucky and some nice SysOp uploads a TapCis Directory listing in Compress format, we can download that UnCompress it then use Brief…
#Heap Expander
Message #24512
Has anyone had any experience with "The Heap Expander" distributed by "The Tool Makers"? I'm curious to hear any comments about this product as I am considering buying it. It seems like it would be a wonderful product if it does what their ad claims. -Thanks.
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
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.
A forward reference to a class only allows you to declare a pointer or reference to that class. The size of that class, and info about its members is unknown at that time, thus your attempt to declare a member function of the forward referenced class as a friend of…
Some of them will catch things like using pointers to free'd memory, and constructs like "if(a=b)".
If a compiler supports the ANSI spec 100%, how much use would a lint be? _martin
Joe , So if you want type checking from a high-level langauage to an assembler file, you should definitely include a .h – type file? Any other ways you can think of? -Martin
#C++ Forward Referencing
Message #24504
/*———————————————————————— Some C++ questions: The attached code gives me the following error under Zortech C++ v2.06. m11 = v1.x ; ^ "test.cpp", line 26 Syntax error: member 'x' of class 'Vector' is private I have tried to get support from Zortech to no avail. Am I doing something wrong in…
PLP II-Out of Memory?
Message #24501
I have recently purchased a GCC PLP II printer and love it. But there is one thing that I don't understand. My system consists of a Mac IIci w/ 5 mb of ram. I constantly keep getting messages while I try to print that I am out of memory. So…
Mike, Then the first place I'd look is IBMCOMM. If they don't have it and don't know where to get it (unlikely, but anything's possible), let me know and I should be able to FTP it from Columbia University.
I've read that LALR is excellent. I can also recommend Mortise-Kern Systems products (MKS.) I don't own their LEX and YACC, but their other software is good, and the reviews of their LEX and YACC rank them on a par with LALR's. I read the review comparing LEXs and YACCs…
Cross-platform Code Ctl.
Message #24498
I work for a company that develops software (specifically an expert system shell with add-ons) for various platforms, including VAX/VMS, MeSs-DOS (and soon OS/2), the Macintosh, IBM Mainframe (MVS, VM, CMS, CICS, etc.), and UNIX (currently a Sun Sparcstation). We've got a set of code that should be portable across…
#DOS Utilities
Message #24497
John, Thanks for the help. Unfortunately, the list price of LALR 4.0 is almost twice as high as the other YACC-LEX's. But. it may be worth it. Louis
Our applications creates 640K Bytes of ROM code. We are still fustrated by the long build times and macro problems as previously noted. Purchasing 25MHz 386's should help.
A good lint will check many things in C across files. Some are available that support ANSI headers & types.
Compaq tape help!!!
Message #24493
I have several 10Mb tapes with ASCII files that I desparately need to read. The tapes were written on the 10Mb tape drives that used to come with Compaq computers. Can anyone help me out with programming information, source code, people to call, or technical references that will enable me…
Jim, A couple of thoughts. Consider the DOS compatibility box under OS/2. A whole bunch of DOS applications don't work at all, or at least not very well in that environment. If Microsoft, who ought to know what they're doing, can't even support DOS under OS/2, who could do it…
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…
Jim – Thanks – I'll have to look for on my next trip to the BookStore.
#DOS Utilities
Message #24488
I have two questions. Does anybody have any suggestions as to good books or articles on MSDOS TSR's. Second, are there any opinions on the various MSDOS LEX's and YACC's available commercially? I work with FLEX and BISON, which I like but cannot use in chargeable jobs. Louis
Thanks! I need Kermit source code for an application I am developing under OS/2 1.2 Communications Manager……If I can get hold of a DOS Kermit source code I can convert over from there. I am using a PS/2 Model 70 so I need Kermit for PC. YOur assistance is greatly…
Page 3 of 15