1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Drawing shapes in c or c++

Discussion in 'C++' started by cyqrus, Mar 23, 2010.

  1. cyqrus

    cyqrus New Member

    Joined:
    Mar 23, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I would like to draw something(lines,quare,triangle,sphere,..) in C or C++ but I got no basic IDEA ...
    For example any kinds of graphics I would like to draw but...
    I searched internet but I couldn't find concrete answer please give me some data link where can I learn or give me some advise of yours

    give me some examples how can I use graphics.h lib .or whatever

    ia m working under winxp
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    If you want to start programming windows then the best place to start is with Charles Petzold's Programming Windows books. This takes you from first principles. However it's not recommended for complete C newbs; you need to get the language sorted out before you'll be able to look at his book without running away screaming, and forget any ideas about doing graphics programming because that is not simple stuff. It's a good goal, but you can pick it up again after you've been learning C for a few months.
     

Share This Page