Welcome to the North American Subaru Impreza Owners Club Monday October 20, 2014
Home Forums WikiNASIOC Products Store Modifications Upgrade Garage
NASIOC
Here you can view your subscribed threads, work with private messages and edit your profile and preferences Home Registration is free! Visit the NASIOC Store NASIOC Rules Search Find other members Frequently Asked Questions Calendar Archive NASIOC Upgrade Garage Logout
Go Back   NASIOC > NASIOC Miscellaneous > Off-Topic

Welcome to NASIOC - The world's largest online community for Subaru enthusiasts!
Welcome to the NASIOC.com Subaru forum.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, free of charge, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!

If you have any problems with the registration process or your account login, please contact us.
* Registered users of the site do not see these ads.
Reply
 
Thread Tools Display Modes
Old 11-03-2003, 03:39 PM   #1
xfactor834
Scooby Newbie
 
Member#: 12506
Join Date: Nov 2001
Default guys...I need to learn C++...what's the best way to approach it???

I have some experience with highly old-school languages such as Pascal, but my job requirements will slowly force me to learn C++ within a year or so.

I know it's difficult to master it in a year, especially considering I'm gonna teach myself (which can be a disaster, I know).

What's the best way to approach it. There are tons of "learn C++ in 21 days" books on Amazon that all got great reviews, but most of them move too quickly.

Any thoughts or opinions?
* Registered users of the site do not see these ads.
xfactor834 is offline   Reply With Quote
Old 11-03-2003, 03:45 PM   #2
AC Lerok
Scooby Newbie
 
Member#: 7918
Join Date: Jun 2001
Chapter/Region: Tri-State
Location: Haterz no like.
Vehicle:
2007 FSXT
Obsidian Black Pearl

Default

do you have any object-oriented languages under your belt?

and when you say "learn" it, are you going to be a developer? tester? what exactly is your job?
AC Lerok is offline   Reply With Quote
Old 11-03-2003, 03:46 PM   #3
WHTWRX
Scooby Specialist
 
Member#: 18571
Join Date: May 2002
Chapter/Region: SCIC
Location: Irvine, Ca
Vehicle:
2002 Impreza WRX
Aspen White

Default

I've gotta quickly ramp up my C++ skills as well, I've not touched it since before the STL was added.

Will this be the first Object Oriented language you're going to learn? It's a steep learning curve, but just take a piece at a time. No one can expect you to know everything about it.

Get the fundamentals down: Encapsulation, Inheritance, Polymorphism, templates and exceptions.

Find a SMALL book to ease into it, something you can easily read in less than a week (spending say 2 hours a day on it).

Those "Learn C in 21 day" type books are also a good idea, they'll take a little longer to get through.

If you want to really jump in, get Stanley Lipman's C++ Primer 3rd edition. This is the bible most C++ developers have on their shelf.
WHTWRX is offline   Reply With Quote
Old 11-03-2003, 03:58 PM   #4
xfactor834
Scooby Newbie
 
Member#: 12506
Join Date: Nov 2001
Default

I have some limited knowledge of VB as far as object oriented languages.

I'm dabbling in .NET.
xfactor834 is offline   Reply With Quote
Old 11-03-2003, 04:05 PM   #5
Nyarlathotep
Scooby Newbie
 
Member#: 41250
Join Date: Aug 2003
Location: Crawling through chaos...
Default

Seriously, force yourself to use it to complete a project. Something simple, build up from there. In my case it was a machine control application. But it can be as simple as a DLL. Get sample code from the net and do it!
Nyarlathotep is offline   Reply With Quote
Old 11-03-2003, 04:08 PM   #6
WHTWRX
Scooby Specialist
 
Member#: 18571
Join Date: May 2002
Chapter/Region: SCIC
Location: Irvine, Ca
Vehicle:
2002 Impreza WRX
Aspen White

Default

Quote:
Originally posted by Nyarlathotep
Seriously, force yourself to use it to complete a project. Something simple, build up from there. In my case it was a machine control application. But it can be as simple as a DLL. Get sample code from the net and do it!
Try getting "Hello World" to compile and link first...
WHTWRX is offline   Reply With Quote
Old 11-03-2003, 04:09 PM   #7
Unit 91
Scooby Specialist
 
Member#: 15810
Join Date: Feb 2002
Location: Ride the Revolution™
Vehicle:
2007 Mazda Fastar
2009 Legacy

Default

Start at the beginning.
Unit 91 is offline   Reply With Quote
Old 11-03-2003, 04:10 PM   #8
WHTWRX
Scooby Specialist
 
Member#: 18571
Join Date: May 2002
Chapter/Region: SCIC
Location: Irvine, Ca
Vehicle:
2002 Impreza WRX
Aspen White

Default

Quote:
Originally posted by Unit 91
Start at the beginning.
And if something gets in your way...TURN!
WHTWRX is offline   Reply With Quote
Old 11-03-2003, 04:11 PM   #9
Unit 91
Scooby Specialist
 
Member#: 15810
Join Date: Feb 2002
Location: Ride the Revolution™
Vehicle:
2007 Mazda Fastar
2009 Legacy

Default

Quote:
Originally posted by WHTWRX
And if something gets in your way...TURN!
Do you have any idea what the street value of this mountain is?
Unit 91 is offline   Reply With Quote
Old 11-03-2003, 04:11 PM   #10
xfactor834
Scooby Newbie
 
Member#: 12506
Join Date: Nov 2001
Default

Quote:
Originally posted by Unit 91
Start at the beginning.
Sp ken like a true genius Ryan.

xfactor834 is offline   Reply With Quote
Old 11-03-2003, 04:18 PM   #11
Unit 91
Scooby Specialist
 
Member#: 15810
Join Date: Feb 2002
Location: Ride the Revolution™
Vehicle:
2007 Mazda Fastar
2009 Legacy

Default

Quote:
Originally posted by xfactor834
Sp ken like a true genius Ryan.

It isn't easy being this smart.
Unit 91 is offline   Reply With Quote
Old 11-03-2003, 04:43 PM   #12
IM2dd
Scooby Newbie
 
Member#: 33587
Join Date: Mar 2003
Location: Next to you
Default

-Data Structure is important...then the syntaxes aren't that hard to pick up.

http://www.deitel.com/

good sites to check out...
http://www.codeguru.com/
http://www.codeproject.com/

good luck!
IM2dd is offline   Reply With Quote
Old 11-03-2003, 05:09 PM   #13
Zahnster
Scooby Specialist
 
Member#: 2918
Join Date: Nov 2000
Location: Simi Valley, CA, USA
Vehicle:
2002 Impreza WRX
Silver Sedan

Default

C++ For Dummies isn't that bad of a book to get you started. (Perhaps I can manage to show up thursday if you wanna borrow/have it)

Herbert Schildt is pretty decent. Where I learned C++ originally (Teach Yourself C++ and C++ Programmers Reference, though his more recent stuff like C++ From the Ground Up might be better.)

I'm a big fan of things by O'Reilly and Wrox press so those are too good places to look. http://cprog.oreilly.com/
Zahnster is offline   Reply With Quote
Old 11-03-2003, 05:32 PM   #14
USA1
Scooby Newbie
 
Member#: 33390
Join Date: Feb 2003
Location: A Spider Hole
Default

I started reading the "21 days" book, got a good start on it, and then took a class. One semester and I learned a bunch. The book really helped me get a head start and understand what the teacher was talking about (no previous programming skills, but I do have a bs in math). Ended up with an A in the class.
USA1 is offline   Reply With Quote
Old 11-03-2003, 05:51 PM   #15
Foovanadil
Scooby Newbie
 
Member#: 23515
Join Date: Aug 2002
Chapter/Region: SCIC
Location: San Diego, CA
Vehicle:
2011 Legacy GT
Steel Silver Metallic

Default

Quote:
Originally posted by xfactor834
I have some limited knowledge of VB as far as object oriented languages.

I'm dabbling in .NET.
VB isn't excatly a OOP languge. It's kind of half there in a bastard sort of way.

do you have any knowledge of Java?

C++ isn't hard to get the basics down, now mastering the lanuguge is quite diffcult if not impossible (I've been working with C++ for almost 6 years and I still wouldn't consider myself a master)

I would say first off read up on OOP (Object Oriented Programming) get a solid understading of that before jumping into anything else.

To master C++ (or any programming lanuguge) you really need to understand the concepts behind it. Not simply how do you do something but why is done that way.

a good programmer should be able to at least read and comprehend just about any languge.

By understanding the concepts of programming you will be able to implement an appllication in any lanuguge. Programming languges become simply a matter of syntax.
Foovanadil is offline   Reply With Quote
Old 11-03-2003, 07:23 PM   #16
andywrx
Scooby Specialist
 
Member#: 10355
Join Date: Sep 2001
Chapter/Region: RMIC
Location: Melbourne, FL
Vehicle:
2008 Honda Element
Black

Default

Those "Learn C++ in 21 days/24 hours" are a good place to start.
After my freshman year, I only really learned C (kind of missed too
many C++ classes ) and had to pick up C++ pretty much on my
own.

The best thing I did though was take a hard class that required
C++ for its' programs. You may or may not need a class, but I
would highly suggest creating some sort of project (be it a stock
tracker, lottery number generator, address book, etc) to keep you
on track and to introduce you to problems you might encounter
when you program "for real". The books will teach you things like
arrays, syntax, STL, etc, but putting them to good use can be
another matter (there are some books that are geared toward
this line of things...one Java book I had, by the end of it, you had
your own stock tracker that would hit yahoo and look at stock
prices for you).
andywrx is offline   Reply With Quote
Old 11-03-2003, 07:29 PM   #17
George71
Scooby Newbie
 
Member#: 5157
Join Date: Mar 2001
Location: Bat City
Vehicle:
2005 WRX wagon
Black

Default

Just remember, classes are structs that own functions as well as data. That's all you need to know. Now paypal me $50 for the lesson.
George71 is offline   Reply With Quote
Old 11-03-2003, 07:35 PM   #18
FuzzyNips
Scooby Newbie
 
Member#: 16686
Join Date: Mar 2002
Chapter/Region: MWSOC
Location: Warrenville, IL
Vehicle:
2010 Mazda 3s GT 5dr
Black Mica

Default

cout << "Newbie" << endl;
FuzzyNips is offline   Reply With Quote
Old 11-03-2003, 07:57 PM   #19
xfactor834
Scooby Newbie
 
Member#: 12506
Join Date: Nov 2001
Default

thanks for the help guys
xfactor834 is offline   Reply With Quote
Old 11-03-2003, 08:58 PM   #20
mordy_2v
Scooby Specialist
 
Member#: 3381
Join Date: Dec 2000
Chapter/Region: SCIC
Location: Pornocopia
Vehicle:
2011 Sah nah tah
dark

Default

Quote:
Originally posted by George71
Just remember, classes are structs that own functions as well as data. That's all you need to know. Now paypal me $50 for the lesson.


so (classT *)var must be inheritence?
mordy_2v is offline   Reply With Quote
Old 11-03-2003, 10:41 PM   #21
WHTWRX
Scooby Specialist
 
Member#: 18571
Join Date: May 2002
Chapter/Region: SCIC
Location: Irvine, Ca
Vehicle:
2002 Impreza WRX
Aspen White

Default

function pointers own j00!!!
WHTWRX is offline   Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best way to learn the Cyrillic alphabet? snvin Off-Topic 21 03-12-2009 04:51 PM
What's the best way to clean the engine compartment under the hood? rabbit92x Car Care & Detailing 4 11-27-2008 09:06 PM
what's the best way to train a dog to live in the backyard? skimmilk68 Off-Topic 99 11-07-2007 05:42 PM
What's the best way to get to Logan Airport? Red Rocket New England Impreza Club Forum -- NESIC 17 02-06-2003 12:57 PM
I got egged, what's the best way to clean it? Robmat Car Care & Detailing 4 04-28-2002 05:58 PM


All times are GMT -4. The time now is 06:23 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2014 Axivo Inc.
Copyright ©1999 - 2014, North American Subaru Impreza Owners Club, Inc.