July 30th, 2003, 01:39 AM
loading exe in dos
I have a boot disk and can create very basic C++ applications. I want to load a exe in dos, but it cannot be loaded. Is there a way to open it without installing windows or any other large operating system?
July 30th, 2003, 09:04 AM
Is your compiler for DOS? The DOS world is very different from the Win32 world! Be sure you are compatible.
July 30th, 2003, 02:54 PM
so what compiler would be compatable for DOS?
July 30th, 2003, 05:18 PM
No DOS is good DOS
I don't know much about the DOS world other than memory management is a nightmare. Why are you working in DOS? If you have an old / under powered system, install Linux and learn to program on a real OS. Since even embedded chips are now using 32 bit multitasking operating systems, there is very little (read none) benefit in learning DOS's tortuous 16 bit world. I strongly suggest you look around for some other freeware that you can use. If you are really using DOS for your OS and do not have even Win95 to use instead, then you are going to spend a great deal of time and energy becoming an expert on a system that is completely obsolete. You can get Linux boot disks and learn to program there. There are tons of freeware (GNU is a great compiler) for Linux, but there is also lots of freeware for Win32, you just have to root around a bit more for it.
So, why are you working in DOS?
July 30th, 2003, 08:55 PM
If you absolutely must use DOS, Borland has a free 16 bit C++ compiler that you can download. But the advice others has given is correct.
Unless you are restricted to a 16 bit processor like the 8086 or 8088, you will have an easier time using a 32 bit operating system like Linux. Linux without X-windows (the GUI) is very fast, even on these old machines. FreeBSD or OpenBSD also work very well on these machines, and FreeBSD is very easy to install.
Articles and commentary on web development