questions / advice

This is a discussion on questions / advice within the C Programming forums, part of the General Programming Boards category; With C ....or C++ is there a ( as simple as possible ) way to display a picture in dos? ...

  1. #1
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765

    questions / advice

    With C ....or C++ is there a ( as simple as possible ) way to display a picture in dos? Do you need special runtime libraries that are compatible with C / C++ ? Also what kind of things would assembly be useful for learning?

    resources i have ( all with included libraries ):
    micrsoft visual c++
    turbo C++ 1.01
    djgpp
    gnu
    allegro
    gnu
    gcc
    zlib
    nasm

    ..and a few others i believe

    I believe you need a good compiler for the type of code you wish to write in, then you need the proper runtime libraries to assist you, correct?
    The world is waiting. I must leave you now.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    3

    Read the FAQ

    The FAQ for this board has somthing about this.

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    16
    It is quite easy to display Windows Bitmaps (BMP) in DOS. I think this is outlined in the FAQ, which you should read if you haven't. Here is some code which might help (attached). You will have to use a 320x200 256 colour non-compressed BMP with this (which you can create with mspaint).
    Attached Files Attached Files
    The box said 'Windows NT or better', so I installed Linux.

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    go here for DOS graphics tutorials.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 08:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. I messed up - any advice?
    By Ninestar in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 12-17-2005, 03:25 AM
  4. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 07:42 AM
  5. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 08:44 AM

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