This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (33 messages)
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…
Chris, TopSpeed C has a TSR named WATCH that does what you are looking for. Al Stevens
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…
The curses library comes with the Lattice C compiler. Lattice sells the source code to the library for $125.00. Al Stevens
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…
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…
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…
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…
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…
For the last time, John, I HAVE THE REFERENCE MANUAL. (Read my caps.) It was free. The author gave it to me. Please stop answering every question with "get the reference manual." It sounds patronizing. Besides, my question was not about what is in the manual. I can read the…
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++. Al Stevens
#C++ types
Message #24364
Greg, I notice that the Zortech compiler treats enums as distinct data types while another 2.0 compiler does not. The other treats them as int equivalents. With Zortech you can overload an operator by specifying different enum types just as you can with classes. With the other one you cannot…
You can get a library of words from Austin Code Works. They are not hyphenated if I remember correctly. You'd need to write your own search programs. The indexing logic in the C column TEXTSRCH program could be helpful for that.
Amend that estimate to the "average C++ experience." Not many new programmers will start out on C++.
#24075-
#C++ Question
Message #24077
That problem, figuring what the classes should be, is the classic one confronted by programmers who are moving to the object-oriented paradigm. I've only seen one book on OOPS that used real examples. To conform to the paradigm, which is defined from a Smalltalk point of view, most OOPS programmers…
John(s) If I understand what you are recommending, you are trying to get a small loader that would execute application .EXE programs in a Novell network. The idea is to keep the users from getting at the licensed copies of the real thing; the users would have no privileges to…
Joel, I have an evaluation copy of CLEAR+ for C from: CLEAR Software, Inc. 637 Washington St. Suite 105 Brookline, MA 02146 (617)232-4720 It makes some pretty neat flow charts from C programs. Al Stevens
Dean, I made no comparisons such as you suggest. Al Stevens
EricF, Sorry, I do not have the new Zortech. Al Stevens
Dean, I just used TopSpeed to build a small system. I nover once needed to go to the user's manual to figure out how to use the environment's editor/compiler. The performance seems to be on a par with TC. There are a lot of features I haven't tried yet. It…
Hypertext.
June is a special issue, and Jon gave us an unusually early deadline for that one. I'm working on April now. Al Stevens
I am not aware of any official announcements from BI, JPI, or MS. There are a lot of rumors though. Rumors rarely contain reliable delvery dates. That's why I'd advise anyone who wanted in now to get something that's shipping now. They can switch later if they want. I have…
shmuel, Amend that last thought to read, "a node navigator must be serial." Obviously a b-tree navigator is not serial. Dumb me. Al
Shmuel, I've done it, and I talk about it in the upcoming June 1990 issue, but I didn't include any source code. Here's how I do it. Keys in a b-tree node are in collated sequence. The first key in a node is always whole, that is it contains all…
Kevin, Try "C Programmer's Guide to NetBIOS," W. David Schwaderer, 1988, Howard W. Sams & Company. It includes a lot of C code that compiles with Microsoft C 5.0. Al Stevens
Bob, If you want to get into C++ now and a PC is your only avenue, you should get either Guidelines or Zortech. Neither MS nor BI have made any announcements, so a delivery date would be mere speculation at this time. You'll need the MSC compiler to go along…
Helmut, There was no substantial source code with that article, so there is nothing in the libraries about it. The article appeared in the DDJ Bonus Issue C Sourcebook for the 1990s, which hit the streets in December. It's still on newstands, and subscribers got it bundled with the January…
David, If you want to stick with QuickC, try Kent Porter's "Stretching QuickC." He has another book called "Stretching Turbo C." Both cover the same material but with the features of the particular compiler. Both are published by Brady Books and are in the stores now. Kent's graphics stuff is…
Bob, I have used Zortech C++ and Guidelines C++. Al Stevens
Thanks, Matthew; now if someone could do that for *me* with OS/2… Al Stevens
#22962-
#OOP
Message #22999
I do not completely agree. We won't see an infinity of such articles although we will see a few. There is still an audience for them. Seeing an unfamiliar language used to build an old chestnut of a data structure helps many young programmers to learn the language because they…
You _must_ be referring to the C column of November. Well, now that just cut me to the ol' quick until I pulled out that column and my trusty tape ruler and did some measuring. By my measure, the column in question devoted 10 inches to linked lists and 14…