Go to Post Just proves those guys have loco-motives - Wayne C. [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 31-03-2009, 14:25
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: C++ Windows Programming?

Sorry if this has been suggested already...


http://wiki.eclipse.org/index.php/CDT
  #17   Spotlight this post!  
Unread 31-03-2009, 14:31
ay2b's Avatar
ay2b ay2b is offline
Registered User
AKA: Andy
FRC #2928
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 1994
Location: Seattle, WA
Posts: 211
ay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant future
Re: C++ Windows Programming?

Quote:
Originally Posted by basicxman View Post
Hey everyone, I'm wanting to learn C++ (I have a basic knowledge of it already though, unfortunately it's mostly forgotten though) and using it to make windows applications with a GUI. Preferably free online material, does anybody know where to start? Thanks! Programming Level: Novice
My recommendation is to first learn the language, and then learn how to add a GUI.

The book I recommend for learning the language is C++ How to Program (ISBN-13: 9780136152507) or C How to Program (ISBN-13: 9780132404167). This is the book I used to learn C. There are probably lots of other good ones out there, but from first-hand experience, I can say that C How to Program is a top-notch book. It has lots of tutorials and problems and exercises for you to work through. Once you rate yourself above "Novice" level, then learn how to add a GUI. Unfortunately, neither of these books are cheap (you certainly don't need both), but you may be able to find one at a used book store for much less (especially if it's an older edition).
__________________

2011 - SD Quarterfinalists (980), LA Quarterfinalists (980)
2010 - LA (2404) Finalists (980), AZ Motorola Quality (980)
2009 - LA Semifinalists (980); Las Vegas Quarterfinalists (980); SD (2404); IRI #1 Seed, Finalist (980)
2008 - SD Quarterfinalists (980), LA Champions (980), LA Rookie Inspiration Award (2404); CalGames Finalists
2007 - So.Cal Finalists (980), SD Quarterfinalists (980); CalGames Finalists
2006 - So.Cal Regional Champion (4), Toronto Judge's Award Day 1 (4)
2005 - SVR Champions, Delphi "Driving Tomorrow's Technology" (980); AZ Xerox Creativity (980); So.Cal Finalists, RadioShack Innovation in Control (980); Championship Archimedes Division Semifinalists; IRI Finalists (980)
2004 - So.Cal Regional Champions, Leadership in Controls (980); AZ GM Industrial Design (980); Championship Galileo Division #2 Seed; IRI Champions
2003 - PNW Semi-finalists (488)
2002 - PNW Finalists (488)
2000 - X-bot / 488 - Mentor / Founder
1994 - Sunny Delight - Driver - champion
  #18   Spotlight this post!  
Unread 31-03-2009, 14:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: C++ Windows Programming?

Quote:
Originally Posted by ay2b View Post
My recommendation is to first learn the language, and then learn how to add a GUI.
I'm going to speak out against that recommendation.

A good GUI really wants to have the program written around it, rather than putting a GUI on top of a program. The event-driven model adopted by most GUI frameworks is something that needs to be considered from the beginning. If the goal is to write fully-functional and easy-to-use Windows applications, I would suggest starting with the GUI features right away, incorporating the necessary programming idioms and following high-level examples. Once the basic shape of the framework is known and mostly understood, then the task of closely studying the language in context can be fruitful.
  #19   Spotlight this post!  
Unread 01-04-2009, 14:08
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: C++ Windows Programming?

I'm currently going through Sams Teach Yourself C++ in One Hour a Day, sort of a 888 page bible on C++. It's extremely well written with lots of good stuff. GUI is the next step afterwards... I'm probably going to use DirectX or OpenGL
  #20   Spotlight this post!  
Unread 01-04-2009, 14:58
ay2b's Avatar
ay2b ay2b is offline
Registered User
AKA: Andy
FRC #2928
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 1994
Location: Seattle, WA
Posts: 211
ay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant future
Re: C++ Windows Programming?

Quote:
Originally Posted by Alan Anderson View Post
A good GUI really wants to have the program written around it, rather than putting a GUI on top of a program.
I agree. What I meant was that I believe one should first learn the structures of the language -- how do pointers work? what are linked lists? what are queues? what are objects? how does inheritance work? etc -- before learning all the GUI functionality. I meant that one would "add GUI programming to their body of knowledge", not that they would "add a GUI on top of an existing program". I probably wasn't clear on that point.

Quote:
Originally Posted by Alan Anderson View Post
The event-driven model adopted by most GUI frameworks is something that needs to be considered from the beginning. If the goal is to write fully-functional and easy-to-use Windows applications, I would suggest starting with the GUI features right away, incorporating the necessary programming idioms and following high-level examples. Once the basic shape of the framework is known and mostly understood, then the task of closely studying the language in context can be fruitful.
Everyone learns differently. In my opinion, the more linear nature of simpler non-GUI programs is easier to understand that the event-based, message passing model of most GUI frameworks. To other programmers, the event-based model might make more sense.
__________________

2011 - SD Quarterfinalists (980), LA Quarterfinalists (980)
2010 - LA (2404) Finalists (980), AZ Motorola Quality (980)
2009 - LA Semifinalists (980); Las Vegas Quarterfinalists (980); SD (2404); IRI #1 Seed, Finalist (980)
2008 - SD Quarterfinalists (980), LA Champions (980), LA Rookie Inspiration Award (2404); CalGames Finalists
2007 - So.Cal Finalists (980), SD Quarterfinalists (980); CalGames Finalists
2006 - So.Cal Regional Champion (4), Toronto Judge's Award Day 1 (4)
2005 - SVR Champions, Delphi "Driving Tomorrow's Technology" (980); AZ Xerox Creativity (980); So.Cal Finalists, RadioShack Innovation in Control (980); Championship Archimedes Division Semifinalists; IRI Finalists (980)
2004 - So.Cal Regional Champions, Leadership in Controls (980); AZ GM Industrial Design (980); Championship Galileo Division #2 Seed; IRI Champions
2003 - PNW Semi-finalists (488)
2002 - PNW Finalists (488)
2000 - X-bot / 488 - Mentor / Founder
1994 - Sunny Delight - Driver - champion
  #21   Spotlight this post!  
Unread 01-04-2009, 20:56
Kruuzr Kruuzr is offline
Mentor - electrical, software
AKA: Steve Cote
FRC #1922 (Ozram)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Henniker, NH
Posts: 33
Kruuzr has a spectacular aura aboutKruuzr has a spectacular aura about
Re: C++ Windows Programming?

Quote:
Originally Posted by Nathan View Post
OK, I just checked on the Qt website. It looks like they do have a free version available under the LGPL license. But, if you ever decide you want to sell one of your programs with Qt, you'll have the pay the 4K licensing fee.

WxWidgets has a lot of features, maybe that's what you mean by complex?

If you decide to try out WxWidgets, use the "WxPack," not the "real" version where you have to build the library yourself.

http://wxpack.sourceforge.net/
You need to look into LGPL further. You do NOT have to pay for licensing if you want to sell a program later!

I will put in a huge word for Qt here. I've been using it for the last 5-6 years at work for cross platform development. Previous to this, I had used Microsoft MFC and also some other cross platform libraries. Qt is by far the best thought out and most comprehensive solution, and it's now free. I've convinced a few people to spend a weekend with Qt and a 'programming with Qt' book, and they've all been able to get started quickly. Certainly much faster than with straight windows calls or MFC. It was written by programmers for programmers and it shows in the logical design. The extras, such as networking, xml, database, and so on are just great extras.

Steve
  #22   Spotlight this post!  
Unread 02-04-2009, 14:13
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: C++ Windows Programming?

Wow! Thanks Steve! I didn't know the difference between GPL and LGPL before your post prompted me to check. I had no idea Qt was available for commercial apps, for free.

Time to check out Qt

Do you have any specific books you would like to recommend?
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #23   Spotlight this post!  
Unread 02-04-2009, 23:57
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: C++ Windows Programming?

Andy, I was in almost the same place you were around this time last year. I was learning C++ and wanted to move on to some GUI programming.

For basic C++ turtorials, www.learncpp.com worked as an awesome tool for me.

As for Windows API and GUI work, this tutorial got me off the ground:

http://www.winprog.org/tutorial/

Visual Studio is an awesome IDE in my opinion, regardless if you're just doing console work or doing GUI stuff. It also has MSDN help built directly into it, which is extremely useful while doing Windows API work. You can the express version for free at http://www.microsoft.com/express/download/

Best of luck.
__________________
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 McGurky Rumor Mill 142 15-07-2009 20:11
Makefile for programming under Windows with cygwin wun Programming 17 20-09-2004 00:44
Windows ME robot180 Chit-Chat 11 07-07-2003 00:21
Windows Background gniticxe Chit-Chat 21 24-11-2001 16:15


All times are GMT -5. The time now is 22:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi