| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | C/C++ book for OS/2? |
RW> I've just started learning C, and I wanted to know if RW> programming in OS/2 is much different than DOS. yes; no. in DOS, you must do everything; in OS/2, many things are done for you. at the basic level (put "Hello World" up on a text screen), things aren't much different. once you get fancier, like accessing the disk or I/O ports, you find that the hacks possible in DOS are not allowed under OS/2. a good text for DOS C programming should not be encouraging you to do such things anyway. with PM programming, you get into a situation where the OS does LOTS of things for you, and you must provide a great deal of setup code to get going at making nice windows on the screen. don't worry, much of it becomes "boilerplate". this is where an OS/2-specific text becomes useful. to be brutally honest, there aren't any good books that both teach you how to C program AND also how to write OS/2 C programs since you have C Set ++, you might consider learning C++ to start with. run down to a bookstore and read the first two Preface pages of "C++ How to Program" for the argument in favor of this. you might even want to buy this $35 1994 900 page book. the examples have been tested under C Set ++. the book is not specific to any OS, however. remember the (often on-line) documents that come with C Set ++ these will not be much help LEARNING C, but provide valuable instruction on how to run the compiler, so that you can compile the example programs in your text. C Set ++ itself comes with a large set of example programs, both text mode and PM. ___ X KWQ/2 1.2e X If at first you don't succeed, put out another version (KWQ 1.2c) --- Maximus/2 2.02* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347) 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 949 712/353 623 713/888 800/1 @PATH: 109/347 2 7 3615/50 229/2 12/2442 711/409 54/54 711/808 809 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™.