Sorry, I forgot the smily in my last post, I hope you took it the right way... :rolleyes:
I'm not so sure it's totally dead. I still see a lot of systems that are DOS-like screens throughout retail, and I doubt most of them are running on the latest OS. I will admit it's definitely on the endangered list, though.
Originally posted by Fordy
As dos is totally dead it's more of a question of why do any of us post here.....And I'm not going to answer as to why windows is better......that's obvious to anyone using it....and if you are posting with an MS operating system, I guess you will be using windows right now....or are you posting using DOS? :)
You're right, I am using XP. But I am in a DOS box during a lot of development. Being a professional, I do have to keep up appearances ;)
You must have a charmed system, or XP. With my 98 system, I locked up many times a day. With XP so far it's rare, but it does happen.
My windows hardly ever locks up....
Yes, but a quality program will have those bug squelched long before it hits your system.
DOS allows any program to screw with the memory holding code/data for other programs and even the OS itself so it's easy for a misbehaving dos program to crash the system.
But I've done it. Usually because I'm running a Microsoft Program. They are riddled with holes and probably in many cases circumvent the safety features they put into the OS.
With a proper windows NT platform on the other hand it's pretty hard to take down the system unless the faulty code is running in kernel mode (drivers)
Race ya... You write a program from scratch that accepts a string and 2 integers, outputs all 3 and the sum. Betcha who wins ;)
As to Dos being easier to program in....again I disagree.....it's just a matter of spending a little time understanding how to program windows, then you have access to lot's of APIs and tools. Try code anything recent (say something web related, or ou want to use a current database) with DOS and your stuffed.
Seriously, if you wish to design a GUI I/O, yes there are lots of tools and API's. If I just want a basic program to display data, 'console mode' or 'command line' does make the programming easier and faster. And APIs are available in console mode so I still have system calls available without the headache of GIU hooks.