Thread: Graphics

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    241

    Graphics

    How can you draw graphics with C++ in Linux? I mean like lines and trapezoids. Also, what is a good way to start programming with Linux? I am used to VS 6 and .NET, and I know you can compile from the command line. I was just wondering if there is a good IDE out there that I could use.

  2. #2
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    Look into ncurses, here is a good tutorial:
    http://en.tldp.org/HOWTO/NCURSES-Programming-HOWTO/
    You can handle console graphics this way.
    Help populate a c/c++ help irc channel
    server: irc://irc.efnet.net
    channel: #c

  3. #3
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    c isn't really one of those languages. You can't just start drawing graphics it isn't part of the basics. Text manipulation and data types are in C. Graphics are system dependent. I use opengl. So I suggest you learn the c syntax well and get comfortable with some easier api's first.

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    >>I was just wondering if there is a good IDE out there that I could use.
    What WM are you using?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turtle Graphics, how does it work?
    By freddyvorhees in forum C++ Programming
    Replies: 15
    Last Post: 08-28-2009, 09:57 AM
  2. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  3. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 05:06 PM
  4. Graphics Devices and Cprintf clash
    By etnies in forum C Programming
    Replies: 6
    Last Post: 05-09-2002, 11:14 AM