programing in DOS?

This is a discussion on programing in DOS? within the C++ Programming forums, part of the General Programming Boards category; Since they are two distinctly different beasts, let's not mix them eh? It is never correct to assume (DOS==console). I ...

  1. #16
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Since they are two distinctly different beasts, let's not mix them eh?

    It is never correct to assume (DOS==console).

    I have no idea why we are even talking about DOS in the first place.

  2. #17
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    If you enjoy saying Ford==GM, then I suppose DOS == console is ok too

  3. #18
    Registered User
    Join Date
    Apr 2006
    Posts
    25
    They are all run by drivers, fed with gas, and, most important, their brands are on the way declining to bankrupt. is that similar enough ? j/k

  4. #19
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,161
    Quote Originally Posted by Bubba
    Since they are two distinctly different beasts, let's not mix them eh?
    I don't see where it matters since the concensus here is DOS is dead. So what's the big deal calling the console window a DOS window. (please don't repeat your previous reasoning -- we already understand that). I find the difference negligible and moot.

    Quote Originally Posted by Bubba
    It is never correct to assume (DOS==console).
    Not assuming that. The DOS window is understood as the Console Window. So it's miscalled. That doesn't change it's functionality.

    Quote Originally Posted by Bubba
    I have no idea why we are even talking about DOS in the first place.
    Because you objected to the OPs use of DOS and I didn't correct him, so you did.


    Quote Originally Posted by Ancient Dragon
    If you enjoy saying Ford==GM, then I suppose DOS == console is ok too
    Not the same at all. More like Datsun == Nissan.
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  5. #20
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,812
    [offensive]
    A quote by somebody:
    Arguing on the Internet is like running in the special Olympics
    even if you win you are still retarded.
    [/offensive]
    Woop?

  6. #21
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    Quote Originally Posted by Ancient Dragon
    Any program that calls cout or printf() is a console program, and most operating systems support them
    <nitpick>not neccessarily true. A gui program can use printf or cout as well.</nitpick>

    These days, there isn't really a clear definition between "console" and "gui" programs. Most people would consider devenv.exe (visual studio) a GUI program, yet it supports a command line interface (which is actually quite handy for scripting builds, just do "devenv /build someproject")
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  7. #22
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581
    Quote Originally Posted by WaltP
    I don't see where it matters since the concensus here is DOS is dead. So what's the big deal calling the console window a DOS window. (please don't repeat your previous reasoning -- we already understand that). I find the difference negligible and moot.
    MS-DOS is really not dead. It's still alive and kicking on my machine where a multi boot ensures I still have some fun with the games of old

    There is nothing wrong in calling the console window a DOS window. But there is nothing wrong either in saying C++ is just like Pascal. One can have fun and say a lot of stuff that aren't true, simply because... there's nothing wrong in saying so.

    However, it will not change the fact that what is said is simply... not.... true.

  8. #23
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,848
    > There is nothing wrong in calling the console window a DOS window
    Maybe so, for the great unwashed masses who never do anything more complicated than typing 'dir'.

    But programmers need to be a hell of a lot more precise over terminology, and making out they're the same simply doesn't wash in the long run. Time and again, noobs wander in clutching some VGA program they've downloaded, riddled with int86 calls, and wanting to know how to compile it with say dev-c++ or vc6.

    With the stated compiler, the OP has been writing win32 console programs.

    > MS-DOS is really not dead.
    OK, so you have a twitching corpse instead, for practical purposes, it's dead.
    There are no new versions from MS (the last rites have been read)
    There are no new patches from MS (the plug has been pulled from life support)
    There are no new applications from developers (the coffin is nailed shut)
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  9. #24
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    And Salem said so. (Case closed).



  10. #25
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    >>But programmers need to be a hell of a lot more precise over terminology<<

    I share this view - scientific and technical disciplines necessarily have a precise lexicon to minimize ambiguity. While there is precedent in relaxing strict nomenclature, in practice it just leads to confusion in both the short and long term.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  11. #26
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581
    That was precisely my point too. Although apparently Salem didn't see the irony

  12. #27
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    Quote Originally Posted by ChaosEngine
    <nitpick>not neccessarily true. A gui program can use printf or cout as well.</nitpick>
    Sure -- but the text goes into the bit bucket (unless stdout is redirected to a file), it sure doesn't go onto the gui screen!

  13. #28
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    Quote Originally Posted by Salem
    >
    There are no new applications from developers (the coffin is nailed shut)
    There are a few, very rare, MS-DOS applications still around -- I know of some that are used for manufacturing industries because of their speed in controlling things on assembly lines. Programs run a lot faster on MS-DOS 6.X operating system than on either *nix or MS-Windows.

    It is still available for free here

  14. #29
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Yes there are companies who are depending on DOS 6.20 to get the job done and surprisingly, it is doing a very good job. DOS 6.20 is extremely reliable which makes it great for systems that need to do one thing but do it very well and very reliably.

    Some companies have processes which, if terminated, would wreak havoc and quite possibly endanger a lot of lives. For this reason they are often scared to move to Windows and more often than not either have a proprietary system setup with a proprietary OS, or they use DOS.

  15. #30
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    Quote Originally Posted by Ancient Dragon
    Sure -- but the text goes into the bit bucket (unless stdout is redirected to a file), it sure doesn't go onto the gui screen!
    well you could redirect stdout to a window! it also goes to visual studio's output window (useful for debug logging), but as I said, that's a nit.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 09:08 PM
  2. winver, winminor, winmajor can it be found from dos?
    By ronin in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-02-2002, 11:32 AM
  3. real mode dos & win dos
    By scott27349 in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 08-19-2002, 07:15 AM
  4. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 01:42 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 07:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21