home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!noc.near.net!mars.caps.maine.edu!gandalf!jurlwin
- From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin)
- Subject: Re: Some info on the PDK, please
- Message-ID: <1992Dec18.182735.14837@gandalf.UMCS.Maine.EDU>
- Organization: University of Maine, Department of Computer Science
- References: <BzFB4z.4u4@news.iastate.edu>
- Date: Fri, 18 Dec 1992 18:27:35 GMT
- Lines: 54
-
- In article <BzFB4z.4u4@news.iastate.edu> TW.FY4@isumvs.iastate.edu (Timothy I Miller) writes:
- >Hello, everybody, I have a few questions about the OS/2 PDK
- >(November version):
- >
- >1) What is the Action Media II control driver? Is it sort of like
- >Apple Quicktime? And if it is, what's that? The way I understand
- >it, it will allow people to have very good animation on the desktop,
- >or something like that.
-
- Sorry, I don't know.
-
- >
- >2) What all has to be installed from the CD-ROM in order to write a
- >program in C? There is the C/C++ set/2, the CSD for C Set/2, the
- >developers toolit, WorkFrame/2, and a few other programs. I'm not
- >sure what all to install, so any advice would be helpful...
-
- At a minimum, you'll need the C/C++ Set/2. The CSD you DON'T need.
- It is for version 1.0 of the available CSet/2. If you wish to
- do anything that needs PM or the OS, you'll need to install the
- toolkit. If you want the workframe, you should install it first.
- The workframe just helps you organize the interaction between you,
- your editor, the compiler and the make utility. I don't use it,
- simply because I have my own environment that I'm used to.
- It's similar (somewhat) to what the Borland IDE does for you...(for
- example).
- >
- >3) There is the C/C++ Set/2 stuff in the PDK, but on my CD, there
- >was a little sticker saying that the C++ USL Class libs are
- >available separately. Does this mean that I can't program in C++?
- No, you can still program in C++, but you won't have the strstream,
- fstream, etc classes. Until you get them, you can't, say: cout << foo;
-
- Most of the stuff is for file I/O (via fstreams, etc), or whatever.
-
- So, if your programs use this, you'll need it. Most of the intro programs
- I've seen and examples in books use this as a substitute for printf.
- (cout goes to the console or window you are running in). Some PM
- programmers would say that you won't need this, but I think you will.
- Printing to the "stdout" is just a small subset of the usefulness
- of these streams. The strstream, for example, can be a substitute
- (a better one, IMHO) for sprintf. I would get them...(and I did!).
- >
- >Thanks for all the help, and I'm sorry if these questions are a
- >little naive.
- No problem....
-
-
- Jeff
-
- --
- --------------------------------------
- jurlwin@gandalf.umcs.maine.edu
-
-