home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / misc / 39904 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.6 KB  |  65 lines

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