I didn't say DOS was at fault, I'd prefer a more open OS anyway, it's just that most household DOS systems could barely run games written in Assembler and maybe C, yet alone C++.
Systems that happened to run DOS were much, much less powerful than the desktop's of today. Besides, there were many games written for DOS. Some 2D side-scrollers like Duke Nukem and some 3D ray-tracing based games like Woftenstein 3D or Doom.
BTW, are you implying that C++ is slower than C? Both compile to native machine code...
I tride to run the program but it just says this program can not be run in ms dos mode.
I think that its my compiler!
do you now were i can get a ms dos compiler?
Bloodshed Dev-C++ was written in Pascal, while it was being upkept it was the dominant IDE. Even today, like 10 years out of production we have to still tell people not to use it.
Borland C++ and Watcom C++ are still available for MS-DOS.
Veltas
t's just that most household DOS systems could barely run games written in Assembler and maybe C, yet alone C++
It wasn't DOS that was slow, it was the PCs that were available at the time. But still there was a considerable spread of computers in the DOS age with a wide performance range.
C++ is as efficient as C in space and time. I worked on may C++ MS-DOS apps. I can't imagine why someone would think that there wasn't a C++ compiler for DOS.