can you tell me !
What's the difference between MS-Dos program and Windows program ?

Is an application in C++ MS-Dos-based application ?
Thanks !

Recommended Answers

All 5 Replies

an MS-DOS Program runs in DOS, and a Windows program runs in Windows.

which one you create depends on your compiler and/or settings, but from a C++ perspective, there's no difference

MS-DOS became extinct after version 6.X. If you have MS-Windows installed on your computer than you do NOT have MS-DOS. You probably mean a command-line window, which is an MS-DOS emulator

What's the difference between MS-Dos program and Windows program ?

The file format and any inherent capabilities or limitations of the file format. A DOS program is what people tend to call executable files with the COM format, and a Windows program is what you would call a PE format executable. You can find details about these two file formats at www.wotsit.org. It should go without saying that the COM format is vastly simpler and more limited than the PE format. :)

>>What's the difference between MS-Dos program and Windows program ?
None if they work :twisted:

:)
Thanks !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.