TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: John Poltorak
date: 1995-03-06 04:46:00
subject: OS/2 versus Dos

Monday February 27 1995, Peter Fitzsimmons writes to Jay Pansing:

 JP>> I also plan on using C/C++ for this. My question is should I learn to
 JP>> program for DOS first then learn OS/2 or start right off with OS/2?
 JP>> I'm thinking OS/2 but was wondering if I would miss some valuable
 JP>> fundamentals by not using DOS.

 PF> Great question.

 PF> Answer: OS/2 programming is easier than dos.

 PF> OS/2's protected memory helps find (especially for the c/c++ programmer)
 PF> nasty bugs that would corrupt memory under DOS,  possibly going unnoticed
 PF> for seconds, days, weeks or years.

 PF> OS/2's virtual memory means you rarely have to worry how big your program
 PF> is.

 PF> OS/2 2+'s flat memory (ie:32 bit) model means you never have to worry
 PF> about 64k segments,  640k memory barriers,  or loading segment registers
 PF> (if you don't understand this,  GOOD!,  you don't have to anymore!).

But when you try to find a beginners book for C they invariably expect you
to be using Microsoft C or Borland C and all the examples are DOS
orientated :-(.

BTW whatever happened to the book you were going to write?

John

--- GoldED/2 2.50.Beta4+
* Origin: (2:250/313)
SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955
SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809
@PATH: 250/313 440/4 141/209 270/101 396/1 3615/50 105/103 42 712/515 711/808
@PATH: 711/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™.