04-06-2004, 05:07 PM | #1 |
Legion Symbol
Join Date: February 14, 2002
Location: Ireland
Age: 39
Posts: 7,368
|
Ok.. Can anyone suggest a site or something which teaches C++? It has to be one for a complete novice but also after the basics cover more advanced topics... thanks all..
__________________
ZFR |
04-06-2004, 05:18 PM | #2 |
Jack Burton
Join Date: May 15, 2001
Location: The Netherlands
Age: 39
Posts: 5,888
|
A Google search will probably get you a lot further with this [img]smile.gif[/img]
Anyways, here is one for ya http://www.cprogramming.com/tutorial.html |
04-06-2004, 05:42 PM | #3 |
Takhisis Follower
Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
|
Oh dear, you wanna learn from a site? You will have to be VERY self-motivated! If you've never done programming, C++ is not the best to start with. Visual basic is a good starting language and then Java and then C and then C++. C++ is a good bridge between Java and C.
__________________
Too set in his ways to ever relate If he could set that aside, there'd be heaven to pay But weathered and aged, time swept him to grave Love conquers all? Damn, I'd say that area's gray |
04-06-2004, 10:52 PM | #4 |
Quintesson
Join Date: September 12, 2001
Location: Ewing, NJ
Age: 42
Posts: 1,079
|
If you learn Java I would recomend you avoid C all together and go straight for C++. There is no reason to learn OOP in Java, unlearn it for C, and then re-learn it for C++.
|
04-07-2004, 01:14 AM | #5 |
Lord Ao
Join Date: June 24, 2002
Location: Nevernever Land
Age: 49
Posts: 2,002
|
There is PLENTY of reason! The right tool for the right job and all that. OOP has no place in the embedded world - nowhere nearly enough available resources. Besides, there is a reason it is called C plus plus, it's an extension to C, though enough different to be a whole new language.
Once you learn programming concepts (Object Oriented Programming OOP is only one concept, event driven programming is another, and structured programming is yet another), language just becomes a matter of syntax. That doesn't mean that proficiency with one language grants you proficiency with another, but learning language nuances is much easier than learning programming concepts. What are your programming goals? If you are a novice, C/C++ aren't the best languages to start from without a teacher to help guide you. They have some really abstract concepts that are difficult to grasp, and it's easy to develop sloppy programming habits if you aren't careful. Your best bet if you are starting out is to have a project in mind and try to find a similar project and learn the language that was done in. Web pages written in JavaScript (.jsp) or ActiveX (.asp) are decent to start with as there are plenty of examples. Visual Basic and Java are good as well.
__________________
[url]\"http://www.duryea.org/pinky/gurkin.wav\" target=\"_blank\">AYPWIP?</a> .... <img border=\"0\" alt=\"[1ponder]\" title=\"\" src=\"graemlins/1ponder.gif\" /> <br />\"I think so Brain, but isn\'t a cucumber that small called a gherkin?\"<br /><br />Shut UP! Pinky! |
04-07-2004, 05:52 AM | #6 |
Legion Symbol
Join Date: February 14, 2002
Location: Ireland
Age: 39
Posts: 7,368
|
Ok... I've not been too clear..
I've already been programming in VB... Then in college we've done C in first semester and started C++ in second... And well... I cant fully grasp it... so i need more help... EDIT: Thanks a lot for the site Link... [img]smile.gif[/img] [ 04-07-2004, 05:57 AM: Message edited by: ZFR ]
__________________
ZFR |
04-07-2004, 07:10 AM | #7 |
Jack Burton
Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
|
It is not necesary to learn C before learning C++ - I, for one, am currently making a project for school in C++, but I have never touched C at all.
ZFR, I don't know of any websites to train you, but there is one semi-decent book (it's good for a start, atleast): "Teach Yourself C++ in 24 Hours" by Jesse Liberty (ISBN 0672322242). |
04-07-2004, 08:41 AM | #8 |
Takhisis Follower
Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
|
Of course it's not NECESSARY to learn C before learning C++. Nothing is necessary. You can start with assembler code if you like. However C is a subset of C++ and as has been said, is for embedded applications etc. It is true that everything you can do in C you can do in C++ another way but you don't ever have to unlearn C as all C syntax is understood by C++ compilers.
ZFR - what concepts can't you grasp? If you've done C, I take it you are clear on pointers, dereferncing them etc. - this is what got me years ago when I was learning. If you've got that than are you having trouble with the object oriented features of C++? That is why Java is nice as all the concepts are the same without you having to handle the memory management as you do in C++ where everything has to have destructors etc. Oh and I'm not sure if it's so good for learning but as a REFERENCE it's the best: "Schildt: C++ The Complete Reference" it has everything you wanna know about C, C++ and the C++ standard template library. CHeck it out on Amazon. [ 04-07-2004, 08:44 AM: Message edited by: Vaskez ]
__________________
Too set in his ways to ever relate If he could set that aside, there'd be heaven to pay But weathered and aged, time swept him to grave Love conquers all? Damn, I'd say that area's gray |
04-07-2004, 04:02 PM | #9 |
Galvatron
Join Date: January 10, 2002
Location: Upstate NY
Age: 56
Posts: 2,109
|
Well I think that in the process of learning C++ you WILL learn C... like it or not, perhaps not architecuture but certainly syntax.
I'd recommend picking up a good book on C++, you're going to have tough going learning from a web site. These days I think the majority of programmers can do just fine never having learned non-oop programming. Sure those of us who do embedded work will need ot learn C (umpteen variants of C in fact), but we also usually need to know assembler... and I doubt that many programmers use assembler EVER, the lastest gen. of optimizing compilers are tough to beat. As for myself, I don't do much C++ programming anymore. Embedded work is typically C, high level work is C#. |
04-07-2004, 04:15 PM | #10 | |
Quintesson
Join Date: September 12, 2001
Location: Ewing, NJ
Age: 42
Posts: 1,079
|
Quote:
[ 04-07-2004, 04:16 PM: Message edited by: Seraph ] |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|