Thread: Simpe question about graphic

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    57

    Simpe question about graphic

    Well everytime you make a program and compile it it is in dos is there a way to get it to run in a cool looking windows with some graphics in it. Plz tell me a good website that has tuts on that i am really intrested in something like that. Thanks guys

  2. #2
    The Richness... Richie T's Avatar
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    469
    Programming for windows is a different beast altogether - you
    will need to know how to use the windows API to be able
    to load windows, watch for mouse activity etc. One of the mods
    here runs a site that teaches some of the basics of this type of
    thing, sticking to the more familiar console style programs - check it out .

    then you'll need MSDN

    lastly, for graphics programming, you'll need either directX or
    OpenGL - for the latter try this

    Also check out the windows programming board, I'm sure they
    have a lot of good references. Be warned however, there is
    a lot of work involved in writing a program with a nice GUI
    No No's:
    fflush (stdin); gets (); void main ();


    Goodies:
    Example of fgets (); The FAQ, C/C++ Reference


    My Gear:
    OS - Windows XP
    IDE - MS Visual C++ 2008 Express Edition


    ASCII stupid question, get a stupid ANSI

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Another good tutorial is The Forger's Tutorial.

    Then when you feel you're ready... when you're comfortable with standard C++, get Programming Windows, by Charles Petzold.

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    DougDbug you may want to fix your link to The Forger's Tutorial.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  2. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  3. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  4. Question about linked lists.
    By cheeisme123 in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2003, 01:36 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM