Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 14th, 2005, 8:51 PM   #1
nez
Programmer
 
nez's Avatar
 
Join Date: May 2005
Location: Plymouth UK
Posts: 34
Rep Power: 0 nez is on a distinguished road
Send a message via MSN to nez
GUI programming for C++

Hi all
As some of you might remeber im currently learning C++ i bought "C++ Primer" and im ploughing through it.

I will be writing my final year project for uni in C++ starting in september so im trying to learn everything i need before hand.

Thing is im not quite sure about GUI programming, i will be making a program which requires a GUI with a drag and drop section to make flow charts up from pre-diffind block each with a different function.

C++ Primer does not cover GUIs so im going to need another one afterwards to learn how to program the interface, but im a little confused what exactly to look for in GUI programming.

I have found QT books, windows API programming and a few linux solutions as well but i still feel a bit in the dark about it all.

What i would like is some infomation on what sort of things are availabe to program a GUI, where should i start to look (i.e. what to google!) and can any one recommend any good C++ GUI programming books (im prolly going to write it on windows, but im getting an ibook in a month or too so i might do it on there).

Any useful links would be good too.

Thanks very much in advance
Nez
__________________
atariboy.wordpress.com
nez is offline   Reply With Quote
Old Jun 14th, 2005, 8:59 PM   #2
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
I recommend Charles Petzold's "Programming Windows" if you already know either C or C++.
uman is offline   Reply With Quote
Old Jun 14th, 2005, 10:27 PM   #3
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 550
Rep Power: 4 Ancient Dragon is on a distinguished road
I also recommend at 6 months to a year's worth of full-time studying (depending on how fast you learn) to do your ambitious project.
Ancient Dragon is offline   Reply With Quote
Old Jun 14th, 2005, 11:52 PM   #4
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 244
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
do you use .NET?

the .NET framework makes this so much easier, you should look into "windows forms"
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Jun 15th, 2005, 12:07 AM   #5
EverLearning
Hobbyist Programmer
 
EverLearning's Avatar
 
Join Date: May 2005
Location: Indiana
Posts: 130
Rep Power: 4 EverLearning is on a distinguished road
Qt designer ... if you have a decent grasp on classes in C++.
But if you feel more comfortable with Windows API check out "Forger's Windows API tutorial", it's the one that is usually recommended (enter into google and you'll find it in first entries).
For Qt - TrollTech has a nice website with free trial version and quite extensive documentation/tutorials (there's also a Qt forum, populated mostly by Europeans). Qt seemed to be much less convoluted than WinAPI when we had to create a gui for our project.
But to each his own
__________________
got math? yumm...

"All men by nature desire to know" -Aristotle, Metaphysics
EverLearning is offline   Reply With Quote
Old Jun 15th, 2005, 4:16 AM   #6
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
If you really want simple simple GUI programming then go for VB (use .NET which is much better than it's predecessors.)
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Jun 15th, 2005, 6:15 AM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Or if you don't want to have to learn a new language, you can try C# - the syntax is pretty similar.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jun 15th, 2005, 7:38 AM   #8
nez
Programmer
 
nez's Avatar
 
Join Date: May 2005
Location: Plymouth UK
Posts: 34
Rep Power: 0 nez is on a distinguished road
Send a message via MSN to nez
I havea good knowledge of C and i'm working through C++ pretty fast, plus i will continue learning these things as i go through my uni yearso i have about 9 months, i really want to do it in C++ and get a good grasp of C++ because it should hopefully open up more oppertunities in the future for me.

I will have a look into .NET and QT, and maybe C# if i can be perswaded!

thanks for your help guys


nez
__________________
atariboy.wordpress.com
nez is offline   Reply With Quote
Old Jun 15th, 2005, 8:22 AM   #9
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 550
Rep Power: 4 Ancient Dragon is on a distinguished road
win32 api functions are NOT c++ -- they are C functions which can be called from almost any programming language. So you won't learn any c++ at all by using win32 api functions.
Ancient Dragon is offline   Reply With Quote
Old Jun 15th, 2005, 9:04 AM   #10
kirkl_uk
Programmer
 
kirkl_uk's Avatar
 
Join Date: Apr 2005
Location: England
Posts: 86
Rep Power: 4 kirkl_uk is on a distinguished road
Send a message via MSN to kirkl_uk
If you wanna learn c++ but not .net, MFC is another option, but a lot of beginners struggle with this to start with.
__________________
kirkl_uk
kirkl_uk is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:56 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC