answersLogoWhite

0


Best Answer

Access the hardware directly: possible in DOS, not possible in Windows.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What can we do in dos based c and that we can't in windows based c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

In my system C language does not support for fullscreen mode why?

Your question has nothing to do with C language, it's about your Windows' DOS-compatibility (or incompatibility).


C can be used on which operating system?

C compilers are available on quite a lot of OS's, like Unices, Windows, DOS, BS2000...


Which type of c program can be run on windows 7?

I guess you wanted to ask: why don't DOS-programs (like TurboC and programs generated by TurboC) run on Windows 7? Answer: it is by design; unlike older versions, Windows 7 doesn't have a built-in DOS-emulator. Download and use DosBox.


What is a dosh header file in c?

Not sure what dosh is but dos.h was used by Turbo C/C++ to handle DOS interrupts way back in the early 90s. DOS has largely been consigned to the history books now that Windows is an OS in its own right. Until 1995 it ran on top of DOS, the actual OS, but no-one in their right mind would consider running DOS programs in Windows in this day and age. Console applications are not DOS programs, they are fully-fledged Windows programs but without a fancy GUI.


What if unable to open conio.h file?

conio.h is not part of the standard library, either in C or C++. Some MS-DOS-based C compilers did provide it, but it is not required in any C++ implementation as the standard library already provides generic console input/output functions. If you have an MS-DOS-based C compiler and the file is missing, try re-installing the compiler. If the compiler does not provide a conio.h implementation, you can try downloading a 3rd party implementation.

Related questions

You cannot start windows vista can you use command prompt to boot to c drive?

No. Windows Vista is not based on DOS and a DOS boot disk will be unable to read the file system that Vista is on.


Windows also includes an older operating system called?

C.) dos


Turbo c based on which operating system?

MS-DOS.


What are some of the differences between programming at the command line for DOS vs command line in Windows?

DOS is a older Windows OS (behind Windows 95). Command Prompt is in all Windows OS (Windows 95 to Windows 7) DOS only supports FAT file systems DOS can't CD to files with spaces in the address line DOS only supports OLD PC systems (anything that can run Windows 95 is to "new") That is all that I know, as I code in C++


Is turbo c is available for windows 7?

Yes, it is available for windows 7. You can run Turbo C in windows 7 basically using DOS Box emulator. Turbo C works fine with windows 7. Up to now, many programmers use Turbo C in programming C in windows environment.


When I boot DOS from floppy disk and try to get into my C drive by typing the DOS command CD C with the colon after it I get message C not responding tho my C drive is fine Am I doing something wrong?

If you are trying to access a Windows partition on your hard drive, this is not easily possible from DOS. DOS can only read FAT partitions, while modern versions of Windows typically use NTFS. Also, DOS cannot access hard drives on a SATA controller unless the controller is set to "Legacy" or emulation mode.


In my system C language does not support for fullscreen mode why?

Your question has nothing to do with C language, it's about your Windows' DOS-compatibility (or incompatibility).


C can be used on which operating system?

C compilers are available on quite a lot of OS's, like Unices, Windows, DOS, BS2000...


Why you use dosh in c plus plus?

In short, you don't use it at all, not unless you're specifically writing code for standalone DOS (disk operating system) that are well over 20 years old now. The <dos.h> header is actually a C library header rather than a C++ library header, but it is not actually part of the standard C specification. It is specifically intended for standalone DOS systems, such as MS-DOS, PC-DOS, IBM-DOS and so on. You cannot use it on Windows 95 or later operating systems since all the functionality previously provided by DOS is now provided by Windows itself, so you must include the <windows.h> header instead. And since it is DOS only, it is obviously not portable. You can use it on Windows 3 and earlier systems since Windows 3 is not an operating system in its own right and is entirely reliant upon an underlying DOS system.


How do you get to dos?

In any windows version, click start -> run and enter cmd or command to start DOS prompt..Answer1. If you are using Windows 98: click start, Shut down, select restart in MS-DOS mode. 2. For Windows XP: click start, All Programs, accessories, Command Prompt. If you do not see it go to C:\WINDOWS\SYSTEM32\cmd.


Where is the DIR command located?

The DIR or directory command is located in the system32 directory of Windows. It is an executable file that gives DOS access to a user.


Which type of c program can be run on windows 7?

I guess you wanted to ask: why don't DOS-programs (like TurboC and programs generated by TurboC) run on Windows 7? Answer: it is by design; unlike older versions, Windows 7 doesn't have a built-in DOS-emulator. Download and use DosBox.