5 Replies - 1312 Views - Last Post: 29 December 2011 - 03:28 PM Rate Topic: -----

#1 RezonatokG  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-December 11

I want to program in C++ with some kind of GUI

Posted 29 December 2011 - 01:40 PM

I have been programming in C++ for a few months and I have a fairly firm grasp on it.I now would like to move on to basic 2d graphical programming but i'm unsure what to use to do that.
*I use Codeblocks if that effects anything.
Is This A Good Question/Topic? 0
  • +

Replies To: I want to program in C++ with some kind of GUI

#2 vividexstance  Icon User is offline

  • Tiocfaidh ár lá
  • member icon

Reputation: 792
  • View blog
  • Posts: 2,873
  • Joined: 31-December 10

Re: I want to program in C++ with some kind of GUI

Posted 29 December 2011 - 01:42 PM

The OS you are running would be helpful for suggestions to what library you should use. For simple 2D graphics, I suggest the SFML library. It's small and fast like the name says and it is fairly easy to use.
Was This Post Helpful? 0
  • +
  • -

#3 RezonatokG  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-December 11

Re: I want to program in C++ with some kind of GUI

Posted 29 December 2011 - 01:52 PM

View Postvividexstance, on 29 December 2011 - 01:42 PM, said:

The OS you are running would be helpful for suggestions to what library you should use. For simple 2D graphics, I suggest the SFML library. It's small and fast like the name says and it is fairly easy to use.

I'm using Windows 7.
Was This Post Helpful? 0
  • +
  • -

#4 vividexstance  Icon User is offline

  • Tiocfaidh ár lá
  • member icon

Reputation: 792
  • View blog
  • Posts: 2,873
  • Joined: 31-December 10

Re: I want to program in C++ with some kind of GUI

Posted 29 December 2011 - 01:56 PM

Thats fine, did you check out that link I posted? It should help you to get started in 2D graphics.
Was This Post Helpful? 0
  • +
  • -

#5 anonymouscodder  Icon User is offline

  • member icon

Reputation: 126
  • View blog
  • Posts: 710
  • Joined: 01-January 10

Re: I want to program in C++ with some kind of GUI

Posted 29 December 2011 - 02:16 PM

View PostRezonatokG, on 29 December 2011 - 05:40 PM, said:

I want to program in C++ with some kind of GUI

View PostRezonatokG, on 29 December 2011 - 05:40 PM, said:

I now would like to move on to basic 2d graphical programming but i'm unsure what to use to do that.

Do you want to use plain 2d graphical manipulation or traditional GUI?

If for GUI there is Qt (amazing framework), wxWidgets (good support by Code::Blocks), MFC, GTK...

For plain 2D graphics there is SMFL as vividexstance metioned, SDL (great library, good community and documentation), Allegro...
Was This Post Helpful? 0
  • +
  • -

#6 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 1460
  • View blog
  • Posts: 4,726
  • Joined: 20-March 10

Re: I want to program in C++ with some kind of GUI

Posted 29 December 2011 - 03:28 PM

View PostRezonatokG, on 29 December 2011 - 08:40 PM, said:

I have been programming in C++ for a few months and I have a fairly firm grasp on it.


I have been programming two years in C++ and I still consider myself a novice
There is just so much to learn about the subject..
Don't fool yourself you know everything in a few months..

View PostRezonatokG, on 29 December 2011 - 08:40 PM, said:

I now would like to move on to basic 2d graphical programming but i'm unsure what to use to do that.
*I use Codeblocks if that effects anything.



If it is a GUI you would like to program and you would like an easy introductory then definitely go with QT.
but be aware that all GUI frameworks be they QT or wxWidgets or FLTK (often overlooked) have their limitations to what you can do with them. If you are looking for no limitations then go with the hardcore option and learn the specific OS API. Under windows thats the Win32 API. You will be able to do everything with it you could possibly imagine. If you want to write cross platform code then go with the QT gui framework. Or do both.


What IDE you use makes no difference I would have experience in using at least three different IDE's if I were you.

Also get some experience in of building a multitude of third party libraries.

Get some experience of socket programming TCP/IP.

Get some experience of building your own libraries.

Get used to the idea that after a few months you have just scratched the surface.

Best Wishes

Snoopy.
Was This Post Helpful? 2
  • +
  • -

Page 1 of 1