473,322 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Where do I go from here? (Learning C++)

I'm looking for some advice in teaching myself how to program.

I just finished reading O'Reilly's Practical C++ Programing. I can do
anything that was convered in the book very comfortably without
referring to the back. This is something I'm very interested in so I
spent several hours each night going through the exercise programs.

I'm curious where I should go from here. I'm interested in learning
how to create useful programs w/ GUIs on various platforms (Windows,
Mac OS, Linux). Ideally, I'd like to create a new email client and
address book for both Windows & Linux.

I'm currently using a Powerbook w/ XCode to develop these programs but
I have access to Windows. Is there any books you could suggest that
would be a continuation of what I already know and lead me towards
creating useful applications?

Thanks

James

Jul 22 '05 #1
6 1267
Try Qt, which is a GUI library run on Linux, Windows and Mac OS

visit www.trolltech.com for more information
"James" <se******@fredonia.edu> ??????:10**************@news-east.n...
I'm looking for some advice in teaching myself how to program.

I just finished reading O'Reilly's Practical C++ Programing. I can do
anything that was convered in the book very comfortably without
referring to the back. This is something I'm very interested in so I
spent several hours each night going through the exercise programs.

I'm curious where I should go from here. I'm interested in learning
how to create useful programs w/ GUIs on various platforms (Windows,
Mac OS, Linux). Ideally, I'd like to create a new email client and
address book for both Windows & Linux.

I'm currently using a Powerbook w/ XCode to develop these programs but
I have access to Windows. Is there any books you could suggest that
would be a continuation of what I already know and lead me towards
creating useful applications?

Thanks

James

Jul 22 '05 #2
James posted:
I'm looking for some advice in teaching myself how to program.

I just finished reading O'Reilly's Practical C++ Programing. I can do
anything that was convered in the book very comfortably without
referring to the back. This is something I'm very interested in so I
spent several hours each night going through the exercise programs.

I'm curious where I should go from here. I'm interested in learning
how to create useful programs w/ GUIs on various platforms (Windows,
Mac OS, Linux). Ideally, I'd like to create a new email client and
address book for both Windows & Linux.

I'm currently using a Powerbook w/ XCode to develop these programs but
I have access to Windows. Is there any books you could suggest that
would be a continuation of what I already know and lead me towards
creating useful applications?

Thanks

James

Be very very very weary of Win32 programming with C++.

If you open up MS Visual C++ and let the wizard create the skeleton of a
Win32 GUI program for you, then you get provided with the most disgusting
code known to man. For instance, there are macros everywhere throughout the
windows header files. You also cannot include one particular windows header
file in a source file. For instance:

//blah.cpp

#include <winnt.h>

This won't compile. There's unrecognized words in "winnt.h". What in actual
fact is happening is that "winnt.h" is referring to stuff which was defined
in "windows.h". So shouldn't "winnt.h" include "windows.h"... ?

Another thing, you won't see:

static_cast
reinterpret_cast

in windows code, you'll see:

(BRUSH)5;

which is pretty disgusting in my own opinion.

I'm actually working on something at the moment... I created the Win32 GUI
project with the wizard, but now I'm re-organizing it. I'm not finished yet
though. It's starting to look nice, I've made use of namespaces, exceptions,
the new-style casts. Pretty much turning horrid C code into beautiful C++
code. If you'd like to compare the before and after, then I'll post it here.

As far as becoming very proficient in C++... well I would recommend posting
and reading here as often as you can. I've read ~4 C++ books, must I've
learned most and attained most clarity in this newsgroup.
-JKop
Jul 22 '05 #3
> I've read ~4 C++ books, must I've learned most and attained most
clarity in this newsgroup.

That's the weirdes typo I've ever made!
I've read ~4 C++ books, but I've learned most and attained most clarity in
this newsgroup.
-JKop
Jul 22 '05 #4
> weirdes
And again!
weirdest
-JKop
Jul 22 '05 #5
JKop wrote:
Be very very very weary of Win32 programming with C++.


I presume you meant "wary" - but that sentence works quite nicely if
you prepend "You will ".

;-)

--
Lionel B

Jul 22 '05 #6
James wrote:

I'm looking for some advice in teaching myself how to program.

I just finished reading O'Reilly's Practical C++ Programing. I can do
anything that was convered in the book very comfortably without
referring to the back. This is something I'm very interested in so I
spent several hours each night going through the exercise programs.

I'm curious where I should go from here. I'm interested in learning how
to create useful programs w/ GUIs on various platforms (Windows, Mac OS,
Linux). Ideally, I'd like to create a new email client and address book
for both Windows & Linux.

I'm currently using a Powerbook w/ XCode to develop these programs but
I have access to Windows. Is there any books you could suggest that
would be a continuation of what I already know and lead me towards
creating useful applications?

You have two options, either continue with system specific stuff like
Windows etc GUI applications (that is learn a system-specific library),
or continue to master ISO C++.
1) In the case you want to move to system-specific stuff, and you are
interested in the MS Windows world, the definite way to go is .NET. Do
not waste brain cells to learn deprecated stuff like Win32.
Good books for .NET are

"Visual C++ .NET" Step by Step by Microsoft, but which contains many
technical C++ inaccuracies (that is, it says many erroneous/crap stuff
regarding ISO C++, like it performs many unneeded casts, like
dynamic_cast, while no cast is needed in most times or static_cast<>
would suffice).
"Visual C++ .NET How to Program" by Deitel, which is the book I am
currently reading, and I am recommending to you for learning .NET. It is
of high quality, highly ISO C++ precise and it covers much material (it
makes you intermediate level .NET programmer).
2) In the case you want to continue mastering ISO C++, even after having
learned .NET, the definite way to go is "The C++ Programming Language"
3rd Edition or Special Edition by Bjarne Stroustrup, the creator of C++.

Keep in mind that reading (and understanding what you read) this book
will take few years. :-)

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: michele.simionato | last post by:
Paul Rubin wrote: > How about macros? Some pretty horrible things have been done in C > programs with the C preprocessor. But there's a movememnt afloat to > add hygienic macros to Python. Got any...
5
by: Applebrown | last post by:
Hello, basically, I'm just learning intermediate CSS and trying to convert my old table webpage completely to CSS. Hoorah, right? Well, it's not quite going as planned. It's an extremely simple...
20
by: Rich Grise | last post by:
I've been lurking for awhile, and I notice that there are some real tight-assed prigs around here. Bitch, bitch, bitch. So what if it's not "Standard C?" If it looks like C, smells like C,...
3
by: Xiangliang Meng | last post by:
Hi, all. In 1998, I graduated from Computer Science Dept. in a university in China. Since then, I've been using C Language for almost 6 years. Although I'm using C++ in my current job, I'm also...
6
by: Dica | last post by:
i've been asked to write an app making use of reports.vb class, but i can't seem to find it..
5
by: Amai | last post by:
I'm ineterested in learning ASP.NET, in conjunction with both C# and VB.NET. However, i don't really know where to start. Are there classes available at local colleges, or do i have to go...
33
by: NicolasG | last post by:
Hi, I want to be a professional python programmer, unfortunately I'm working on technical support and don't have the time/patience to start making projects my self. I tried to apply to some...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
4
by: John Sheppard | last post by:
Hello, I am working on a 3teired project, data,bizlogic, userinterface...I have a global class that at current is being passed around as parameters, this is, to say the least messy... I am...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.