TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Dan Ohara
from: Brian Converse
date: 1994-10-06 05:07:34
subject: ICLUI, C++ texts

DO> 1) How much effort is it to "pick-up" C++, for someone with
DO> a good working knowledge of C?

you commented that you would move an existing implementation. I'd 
suggest a minimal conversion of a C program, using "better version of
C" features like new in place of malloc() and "//" comments, etc.  the
real power of C++ lies in classes and inheritance and polymorphism,
etc. that beg for a ground-up redesign of an app. instead of a port. 
You might  find that you can use certain built-in (ANSI) classes easily
enough,  though- try it. An existing C program should compile OK in
C++; of  course, if it's a DOS program, it might have trouble in OS/2! 
My  Zortech C++ programs for DOS, even DOS extender, work OK under
OS/2's  DOS, but making them run in OS/2 text mode session's another
matter...

DO > 2) Is there a source of good working examples of OS/2 C++ code
JP>   one a while back (and will probably repeat it if you ask him ).

...or even if you don't . STEVE GALLAGHER promised to take up the
torch, since he's just down the road from the Research Triangle
facility that houses the alleged author. i'll be back in RTP locus in
Nov. and will again attempt to persuade this book onto the shelves.

The IBM C Set++ compiler comes with a set of UICL (or ICLUI, 
"eye-clue-i" as the insiders put it) examples that are a graduated 
introduction to the CLASSES, not C++ -you have to learn that
separately. IBM is offering a (last price I saw) $50 CD-ROM intro to
C++ programming that sounds good...want to bet it's so generic that
ICLUI isn't  covered?).  The ICLUI reference manual on the C Set++
CD-ROM is sort of  keyed to the example programs (or parts of them),
and does not make that bad a guide to ICLUI programming...again
presuming a working knowledge  of C++. Don't expect the ICLUI book,
when it appears, to offer much C++  hand-holding either.  The C Set++
CD-ROM contains other, non-ICLUI  examples of OS/2 C++ code.  The v2.1
C Set++ comes with KASE:PM, which  can be told to generate ICLUI-based
C++ code- you can feed high-level  user interface designs into this
code generator and it'll make source  code you can then use as examples
of ICLUI C++ programming.

DO > 4) Any recommended books, or other material to ease the
DO> transistion from C to C++?
Got a reasonable book this summer by Deitel & Deitel (one of which
was  co-author of "The Design of OS/2 2.0"). No OS/2-specific material,
as it is a textbook. The authors claim, and I've confirmed that this is
both a textbook (progressive introduction to C++ programming for
students, not a "C->C++ for programmers") AND a reference
manual. A good effort and 
covers templates, exception handling, etc. "C++ How to Program".
950pp.

___
 X KWQ/2 1.2e X Rhode Island: on the edge of North American Avalonia

--- Maximus/2 2.01wb

* Origin: Fernwood - your source for OS/2 files! (1:141/209)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.