Is DOS programming the same as just programming in C or C++ console applications? If not i have Dev-C++ will this work for compiling these DOS programs and will they run in windows XP command prompt like normal C++ console applications will?
Is DOS programming the same as just programming in C or C++ console applications? If not i have Dev-C++ will this work for compiling these DOS programs and will they run in windows XP command prompt like normal C++ console applications will?
DOS programming refers to the old operating system of the same name, which is a 16 bit world, with limited amounts of memory and lots of random trickery to get anything useful done.
> If not i have Dev-C++ will this work for compiling these DOS programs and will they run in windows XP command prompt like normal C++ console applications will?
That depends on the program.
Fairly simple programs which stick to standard routines should be OK
Programs which directly access the hardware, DOS interrupts or BIOS interrupts will be a challenge.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
You must remember that Dev C++ doesn't support dos.h so you can't use many of the old dos functions: gotoxy(), and other to color the text and background, etc.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.