Reputation: 7592
I'm trying to learn some graphics programming using C. What would be the best way for a beginner to start? I'd like to how to make programs that use graphics and images that can be run directly from a command line prompt, and don't rely on a windowing system like X to execute.
Thanks,
Mike
Upvotes: 2
Views: 638
Reputation: 27184
Check out the FLTK GUI toolkit. It is small and easy to learn.
Upvotes: 2
Reputation: 23200
Learn some GUI toolkit like Qt or GTK, this way you will make modern GUI applications.
Upvotes: 2
Reputation: 3423
There's also Allegro if you're not a fan of SDL. It's somewhat more fully-featured for simple vector graphics; SDL is mainly a cross-platform framebuffer until you add extension libraries.
Upvotes: 3
Reputation: 239061
Look into libsdl - Simple DirectMedia Layer. Although on Linux it can use X11 for displaying output, it can also directly use a framebuffer device. It's designed to be simple for pixel-bashing game-type programming, and supports a wide variety of platforms.
Upvotes: 5