CompuServe Archive

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

Search Results (285 messages)

#74583 SmartHeap Message #74959
From: Robert Sherlock DDJ Forum · Forum Business October 10, 1994 10:31 PM
You might look at Stratosware's "C-Heap Standard" – it's only $99 (+$40 for source). I haven't used it, but find their Memcheck memory management debugger an excellent product so I'd have considerable confidence that it would work well. Contact them on 70244,1372. Good luck. (NB I have no ties with…
SmartHeap Message #74583
From: Syndesis DDJ Forum · Forum Business September 30, 1994 10:40 AM
My company makes a 3D file format translation program for Win32s using Visual C 32-bit. Some of our translators had big troubles when ported to Win32s. They were doing several thousand small malloc()s and realloc()s and after only about 20K of total allocations, malloc() would fail after growing slower and…
#49750- Char-ize Macro? Message #49795
From: Bill Daly DDJ Forum · Forum Business June 17, 1993 2:24 PM
#define CHARIZE(x) (x[0]) should give you what you want, since "a"[0] is the same as 'a'. 1: Perfect! Thank you! 2: /send(I should have read "Obsfucscated C" a litltle closer, they use t 3: hat trick all the time…) 4: /post
#24602 TEXT SEARCH Message #24613
From: Al Stevens DDJ Forum · Forum Business March 28, 1990 3:34 PM
Brad, You can back away from the Curses stuff by backing off one month. The project was completed when I decided to use the Lattice library to add some displays. All the indexing and search code is in the months that come before the Curses column. I never compiled with…
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…
From: Phil Rose DDJ Forum · Forum Business March 28, 1990 11:14 AM
Your right, thats a bug. I compiled it in Zortech and got the same error, then tried it on cfront and it compiles without error. What you are doing is perfectly legal. You should probably report that to Zortech technical support…
From: Bob Goldrich DDJ Forum · Forum Business March 28, 1990 7:39 AM
/*———————————————————————— OK, this time I think I have found a bug in the Zortech compiler. I get the following error message: m11 = v.x ; ^ "gold2.cpp", line 29 Syntax error: member 'x' of class 'Vector' is private I thought I took care of the privacy problem by making my…
#24580 Heap Expander Message #24607
From: pat cassidy DDJ Forum · Forum Business March 27, 1990 11:30 PM
Tom, How does it work with DESQVIEW etc??? any problems?? Pat
#TEXT SEARCH Message #24602
From: brad fuller DDJ Forum · Forum Business March 27, 1990 8:09 PM
Has anyone successfully used Al Stevens' TEXT SEARCH application? If so, have you converted it to plain vanilla microsoft C text output? I don't have Lattice's CURSES and really don't know anything about it. So, I sure would appreciate knowing if someone has made it work. – brad –
#24564 curses Message #24588
From: David Waroff DDJ Forum · Forum Business March 26, 1990 8:32 PM
How could there be? There are no standard machines.
#24512 #Heap Expander Message #24580
From: Tom Hiscox DDJ Forum · Forum Business March 26, 1990 2:27 PM
I have used the Heap Expander on a moderately large C program which is a flat file database manager and would recommend the product to you. IN my application, I use the expanded/extended/virtual memory to hold record which are pointed to from the regular heap (ie from a linked list).…
#24386 Al's C++ window.c Message #24566
From: Nick Hall DDJ Forum · Forum Business March 24, 1990 10:59 PM
When you get the ambiguous reference to a function, it usually means that you passed the wrong parameters to it. In looking at your calls to cursor, make sure you are passing the right types. If cursor(…) is not prototyped, The first call to cursor sets the types of parameters…
#24506 curses Message #24565
From: Joe Sewell DDJ Forum · Forum Business March 24, 1990 4:23 PM
lint doesn't check for standards, Martin. It basically checks type compatibilities and what-not about as thoroughly as Pascal does. The big difference is that you can choose whether to ignore lint or not, where Pascal doesn't give you that choice. Joe
#24540 #curses Message #24564
From: Joe Sewell DDJ Forum · Forum Business March 24, 1990 4:22 PM
Martin, I believe I keep saying this (although I may be thinking of the wrong thread and/or forum), but there is no standard way of specifying data types in assembly language. Some assemblers may do this, however — it depends on the assembler. I know the two main Macintosh assemblers…
From: Bob Goldrich DDJ Forum · Forum Business March 23, 1990 7:38 AM
Thanks John. -Bob
Curses Message #24551
From: John Linzmeier, Jr. DDJ Forum · Forum Business March 22, 1990 10:55 PM
After performing some archeology through several magazines and catalogs, my cousin found a Lattice ad! He ordered Curses, and got your masterpiece going. It also works on my machine without any hitches, and I can use it. I haven't even read through my first issue yet, but I've already got…
Curses Message #24550
From: John Linzmeier, Jr. DDJ Forum · Forum Business March 22, 1990 10:47 PM
I don't know about that very well. I suppose that's done when the header files are analyzed. The best thing is to ask an expert, not me! John Linzmeier
#24543 Heap Expander Message #24549
From: pat cassidy DDJ Forum · Forum Business March 22, 1990 10:08 PM
Mike, I'm not familiar with the "heap expander with the right price." Am currently working with an app that I've pared to 270K disk image but then once the sucker loads, Katie bar the doors… I'm using Cscape and db_file for screen and file management. There are certain places that…
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…
#24512 #Heap Expander Message #24543
From: Mike Floyd/DDJ DDJ Forum · Forum Business March 22, 1990 12:32 PM
Pete Becker, who wrote the Heap Exapander, now works for Borland. You can contact him directly in the Borland forum (BPROGB). I haven't looked at it since an early 2.0 release. It's a great product for what it's designed to do. And the price is right! — MF
#24508 curses Message #24541
From: Martin O. Waldron DDJ Forum · Forum Business March 22, 1990 10:22 AM
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
#24522 #curses Message #24540
From: Martin O. Waldron DDJ Forum · Forum Business March 22, 1990 10:15 AM
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
From: Bob Goldrich DDJ Forum · Forum Business March 22, 1990 8:56 AM
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…
From: Bob Goldrich DDJ Forum · Forum Business March 22, 1990 8:51 AM
Thanks, Phil.
#24508 curses Message #24535
From: Jim Mischel DDJ Forum · Forum Business March 22, 1990 8:38 AM
Turbo C handles the if (a=b) case with a warning: "Possibly incorrect assignment" JIM
Code Base 4 Message #24532
From: Slim Heilpern DDJ Forum · Forum Business March 21, 1990 8:27 PM
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
From: Robert Funk DDJ Forum · Forum Business March 21, 1990 8:10 PM
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…
From: Phil Rose DDJ Forum · Forum Business March 21, 1990 6:32 PM
Right. See quote from ARM in John Dlugosz message to you regarding same.
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: Bob Goldrich DDJ Forum · Forum Business March 21, 1990 1:00 PM
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,…
From: Phil Rose DDJ Forum · Forum Business March 21, 1990 11:38 AM
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…
#24516 C++ types Message #24524
From: Al Stevens DDJ Forum · Forum Business March 21, 1990 11:36 AM
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…
#24505 #curses Message #24522
From: Joe Sewell DDJ Forum · Forum Business March 21, 1990 8:20 AM
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,…
From: Bob Goldrich DDJ Forum · Forum Business March 21, 1990 7:57 AM
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…
From: Bob Goldrich DDJ Forum · Forum Business March 21, 1990 7:56 AM
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…
#24414 #C++ types Message #24516
From: Greg Comeau@Comeau Cmptg DDJ Forum · Forum Business March 20, 1990 9:32 PM
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,…
#Heap Expander Message #24512
From: Slim Heilpern DDJ Forum · Forum Business March 20, 1990 4:23 PM
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.
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
From: Phil Rose DDJ Forum · Forum Business March 20, 1990 12:54 PM
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…
#24506 #curses Message #24508
From: David Waroff DDJ Forum · Forum Business March 20, 1990 11:50 AM
Some of them will catch things like using pointers to free'd memory, and constructs like "if(a=b)".
#24494 #curses Message #24506
From: Martin O. Waldron DDJ Forum · Forum Business March 20, 1990 10:25 AM
If a compiler supports the ANSI spec 100%, how much use would a lint be? _martin
#24481 #curses Message #24505
From: Martin O. Waldron DDJ Forum · Forum Business March 20, 1990 10:24 AM
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
From: Bob Goldrich DDJ Forum · Forum Business March 20, 1990 7:26 AM
/*———————————————————————— 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…
#24451 #curses Message #24494
From: David Waroff DDJ Forum · Forum Business March 19, 1990 2:34 PM
A good lint will check many things in C across files. Some are available that support ANSI headers & types.
Compaq tape help!!! Message #24493
From: Jack Zigon DDJ Forum · Forum Business March 19, 1990 12:31 PM
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…
From: Don E. Groves, Jr. DDJ Forum · Forum Business March 18, 1990 9:36 PM
Jim – Thanks – I'll have to look for on my next trip to the BookStore.
C to Pascal Message #24486
From: Keith Stone DDJ Forum · Forum Business March 18, 1990 2:35 PM
Hey why not, when the job really needs to be done, not published, a good old language like FORTRAN or heaven forbid, COBOL does the job quite nicely.
#24451 #curses Message #24481
From: Joe Sewell DDJ Forum · Forum Business March 17, 1990 4:20 PM
Type-checking across separately compiled modules normally can occur only during link-time, if at all. As for assembly files, normally that cannot be done, as most assemblers don't provide ways of specifying typing information. Joe
From: Jim Mischel DDJ Forum · Forum Business March 17, 1990 11:08 AM
Don Found a great book…."DOS Programmer's Reference" 2nd edition. Que books. Written by Terry Dettmann and Jim Kyle. I'm still digging through it, but I've already found a whole bunch of neat stuff. Highly recommended. JIM
#24458 AUG 89 C Listing Message #24473
From: Mike Floyd/DDJ DDJ Forum · Forum Business March 16, 1990 10:37 AM
Browse the DDJ Listings using AUG89 as a keyword. — MF
1 2 3 5 6 Next →

Page 1 of 6