Make paint program by c++

Jun 13, 2012 at 12:45pm
Hello guys I'm new here and new to c++ world I learned a lot of the book for lafore and I want to know how to make c++ paint program like one in windows where can I start??
thnx in advance
Jun 13, 2012 at 1:38pm
i think you need to learn sdk,like gtk,qt.

then i think you know how to do.
Last edited on Jun 13, 2012 at 1:39pm
Jun 15, 2012 at 12:25am
You need to pick up an API thats being used on your system. On Windows this api is Win32API. On linux I THINK (its been awhile) that there is KDE, and GTK as the prominent user interface api's. Qt is a wrapper for cross platform programming and may suit your needs.

Win32's paint program uses GDI, the graphics component of win32api. So KDE and GTK would need that functionality. Not sure how useful OpenGL or the like would be to you.
Jun 16, 2012 at 5:13pm
Using GTK+clutter might be the way to go.
Last edited on Jun 16, 2012 at 5:44pm
Jun 21, 2012 at 9:26pm
Hey I cannot understand anything of this am new and I'm using linux ubuntu and want to use graphics library and mouse library and my notepad(gedit) to make such as prgoram
-Where can I get graphics c++ library
-From where can start(making first window or windows and buttons how to make window in c++)

thnx :)
Jun 22, 2012 at 5:33am
I think SDL would be worth the time to learn. The tutorials at lazyfoo.net are great.
Jun 30, 2012 at 2:42pm
SFML is my hero.

http://www.sfml-dev.org/documentation/2.0/

The problem that I have with SDL is that it was built for C, not C++... so it still has that C feel. But I would definitely recommend it if you are going to do any programming in C.

EDIT: you could use GTK/Qt for the interface, and then the drawing area could be done with SFML.
Last edited on Jun 30, 2012 at 2:43pm
Topic archived. No new replies allowed.