basic graphics!!! I'm stressing here!!!

This is a discussion on basic graphics!!! I'm stressing here!!! within the C++ Programming forums, part of the General Programming Boards category; Does anybody know how I can do basic graphics in C++ using a Microsoft Visual C++ Enterprise edition compiler??? The ...

  1. #1
    Registered User CumQuaT's Avatar
    Join Date
    Sep 2001
    Posts
    73

    Unhappy basic graphics!!! I'm stressing here!!!

    Does anybody know how I can do basic graphics in C++ using a Microsoft Visual C++ Enterprise edition compiler??? The equivalent of the LINE or CIRCLE or PAINT commands in QBasic???

    I'm desperate!!!
    Why? The often unanswerable question. If it is unanswerable, why answer it?

    Join the Cult of Sheograth, it's the place to be!

    http://cultosheogorath.proboards16.com

    Lord, we know what we are, yet we know not what we may be... Who wrote that anyway? If you know, E-Mail me. mr_shnokovitz@yahoo.com

    Joy to all the fishes...

    **infected by frenchfry164**

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    156
    I'm guessing you're new to windows programming, so I suggest you create an SDI project from the MFC app wizard. And look at the CDC class members. I've attached an MSDN article to get you started.

    thanks

    dan
    Attached Files Attached Files

  3. #3
    Registered User Esss's Avatar
    Join Date
    Aug 2001
    Posts
    133
    There are tutorials on Windows programming in the board FAQ. http://www.cprogramming.com/boardfaq.html
    Ess
    Like a rat in a maze who says,
    "Watch me choose my own direction"
    Are you under the illusion
    The path is winding your way?
    - Rush

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    if you are used to qbasic you may like the BGI

    if you are using a borland compiler (and why not) you should have access to the BGI, look for a folder called BGI or check your compiler documentation

  5. #5
    Registered User
    Join Date
    Sep 2001
    Posts
    17
    CumQuaT, you might want to take a look at a book called Windows Game Programming for Dummies by Andre Lamothe. The title of the book is a misnomer, it's a pretty good book. It spends a couple of chapters on the basic Windows GDI graphics functions you're looking for, then it moves onto DirectX if you would like to learn some more complex graphics tehcniques.
    -sh0x

  6. #6
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> so I suggest you create an SDI project from the MFC app wizard.

    And I suggest you don't. I believe you should learn to program with the native API before you start with a class library, (MFC etc.). Once you can drive the API, learning MFC etc. is easy, the other way round is not.

    Get hold of a book by Petzold or Schildt.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginning Game Programming Type Books
    By bumfluff in forum Game Programming
    Replies: 36
    Last Post: 09-13-2006, 04:15 PM
  2. [ANN] New script engine (Basic sintax)
    By MKTMK in forum C++ Programming
    Replies: 1
    Last Post: 11-01-2005, 09:28 AM
  3. Basic Graphics programming in C, please help
    By AdRock in forum Game Programming
    Replies: 3
    Last Post: 03-24-2004, 10:38 PM
  4. Basic Graphics Tutorials ?
    By Syme in forum Game Programming
    Replies: 2
    Last Post: 12-07-2001, 08:00 PM

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