difference between dos and console?

This is a discussion on difference between dos and console? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; is there any difference? i read in the faq that you can do graphics in dos mode but not console. ...

  1. #1
    Qwertop
    Guest

    difference between dos and console?

    is there any difference? i read in the faq that you can do graphics in dos mode but not console. i have dev c++ and it gives me the option of a "windows application" or a "console(dos) application". can i do graphics in the "console(dos) application" mode?

  2. #2
    Unregistered
    Guest
    Oh jeez, last time I responded to this question Sunlight slapped me around for not being correct.

    A DOS program is simply that. It's a 16-bit DOS program.

    As far as I understand, a console is a 32-bit text-based Windows application. It can make use of other things "normal" Windows programs can make use of like message boxes, multi-threading, Windows API (I think), etc.

    But, don't be surprised if I'm somehow wrong...

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    85
    so can i do dos graphics mode in dev c++?

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    A console program is just a Windows program that is pre-setup to look sorta like a DOS box program. Console programs can use Win32 API. They are also restricted like Windows programs and can not directly access hardware (thus DOS style graphics don't work).

    There is a way to do quick and low level graphics, however. You just need a library designed to do this. DirectX, OpenGL, and/or Allegro (might I recommend Allegro) are all free resources suited to this task.

    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Internet Programming for DOS Console
    By KoolFriend in forum C++ Programming
    Replies: 9
    Last Post: 09-27-2004, 11:49 AM
  2. DOS / Linux Console based GUI?
    By mart_man00 in forum C Programming
    Replies: 3
    Last Post: 09-14-2002, 01:46 AM
  3. Console VS MS DOS window
    By Shadow12345 in forum C++ Programming
    Replies: 5
    Last Post: 07-30-2002, 09:43 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

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