drawing stuff

This is a discussion on drawing stuff within the C++ Programming forums, part of the General Programming Boards category; How you can draw things with c++ using colors or images? I have no idea...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    9

    drawing stuff

    How you can draw things with c++ using colors or images? I have no idea

  2. #2
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    You can either learn to use windows or something else.
    Try searching wih google for windows programming tutorials for c++.
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    First the bad news: There are no colors or graphics in ANSI/ISO standard C++. And, there is no sound or mouse either.

    The good news: Your computer probably can display colors and graphics, and your compiler probably includes "extra" libraries to include them in your programs. And, there are 3rd-party libraries such as OpenGL that might work with your compiler.

    Assuming you're running Windows and that you have a Windows compiler (one capable of making Windows programs), there are simple functions that allow you to display common shapes or display text in various fonts and colors.

    A little more bad news: It takes about two pages of "overhead" code to create a window. (Windows programming is NOT for beginners.)

    Check out the Forger's Windows Programming Tutorial.

  4. #4
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    Quote Originally Posted by DougDbug
    First the bad news: There are no colors or graphics in ANSI/ISO standard C++. And, there is no sound or mouse either.

    The good news: Your computer probably can display colors and graphics, and your compiler probably includes "extra" libraries to include them in your programs. And, there are 3rd-party libraries such as OpenGL that might work with your compiler.

    Assuming you're running Windows and that you have a Windows compiler (one capable of making Windows programs), there are simple functions that allow you to display common shapes or display text in various fonts and colors.

    A little more bad news: It takes about two pages of "overhead" code to create a window. (Windows programming is NOT for beginners.)

    Check out the Forger's Windows Programming Tutorial.
    Don't be so cruel on him, he's just a beginner and probably doesn't
    know anything about libraries, headers, APIs, ...
    I know what he means, he doesn't have to say it properly in order for me to understand it
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Slow drawing code
    By tjpanda in forum Windows Programming
    Replies: 5
    Last Post: 05-09-2008, 05:09 PM
  2. Drawing triangles in C#
    By John_L in forum C# Programming
    Replies: 2
    Last Post: 03-15-2008, 08:48 AM
  3. Beginner stuff
    By 94Sniper in forum C Programming
    Replies: 2
    Last Post: 11-29-2007, 03:34 PM
  4. Drawing sprites, tiles etc.
    By The Dog in forum Game Programming
    Replies: 3
    Last Post: 10-17-2002, 03:34 PM
  5. Your stuff
    By smog890 in forum C Programming
    Replies: 6
    Last Post: 06-13-2002, 11:50 PM

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