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?
Printable View
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.
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 feel extremely old....there are now those who no longer remember the wonder's of Dos....
c:\> cd memorie
c:\memorie\>
...