Re: cpp help!

  • From: Alex Midence <alex.midence@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Thu, 26 Aug 2010 16:50:15 -0500

Hi,

They're murder!  I can't imagine when I'd want to use one in an
application short of some cellphone app for antiquated models.
Pointers are a bit scary.  What really gets me about c++ is what a
pain it is to write a gui application in it.  It is an undeniable fact
that most people want to use gui applications whether it's for
windows, gnome, or Mac.  Console applications make your average end
user flinch away in horror.  Why then, isn't there a standard library
component that quickly and efficiently addresses writing gui
applications in c++ without requiring about 70 or 80 lines of code for
a Hello World application that takes like 10 lines to write in console
form?  I don't buy the whole platform constraint argument.  I can see
that for the windows api but qt, gtk+ and wx widgets are all touted as
cross-platform gui libraries that make your application portable and
keep much of the same look and feel regardless of where they are
deployed.  Instead you have to spend lots and lots of time slogging
your way through tutorials that teach you pages and pages of code
using things like iostream, cmath, fstream, string, conio, and cstdlib
instead of oh,  I don't know, windows.h, wxsetup.h, and so forth which
appear to be the sorts of things you need to make a real application
somebody might actually want to use some day.  Just got through
reading a book by Herb Schildt last night.  Has 12 chapters of this
sort of thing.  He's got another that has even more chapters about it.
 It takes some serious digging to find a c++ manual that teaches you
how to write gui apps and most of them are written by volunteers and
are consequentially sketchy, and at times poorly written.  Before bed,
I then opened up a Teach Yourself Java in 24 hours and there's a gui
app close to the middle of the book using swing for me to write which
I will probably be able to do saturday.  Can anyone shed some light on
the madness?  Did I choose a language that is over the hill?  Have the
past months I've spent on c++ been a total waste?

Alex M







On 8/26/10, Alex Hall <mehgcap@xxxxxxxxx> wrote:
> Thanks. There is a good tutorial there... I can see why pointers have
> been left behind in newer languages!
>
> On 8/26/10, qubit <lauraeaves@xxxxxxxxx> wrote:
>> www.cplusplus.com is good
>> ----- Original Message -----
>> From: "Alex Hall" <mehgcap@xxxxxxxxx>
>> To: "programmingblind" <programmingblind@xxxxxxxxxxxxx>
>> Sent: Thursday, August 26, 2010 12:39 PM
>> Subject: cpp help!
>>
>>
>> Hi all,
>> I am working with a few other people on a project. I am the only one
>> that speaks Python and Java, not cpp. We hope to package this as an
>> executable, so cpp makes the most sense, plus some source code we hope
>> to use as part of the project is written in c already. Does anyone
>> know of any tutorials for cpp, mainly about classes, objects,
>> subclassing, file streams, and other semi-advanced topics? I know how
>> to do the basics, like conditionals or functions, but that is it.
>> Again, I was taught Java through my first two years of college, then I
>> found, and fell in love with, Python and have used that as my primary
>> language since January.
>>
>> --
>> Have a great day,
>> Alex (msg sent from GMail website)
>> mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>>
>
>
> --
> Have a great day,
> Alex (msg sent from GMail website)
> mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
>
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: