![]() |
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..
|
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 |
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.
|
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++.
|
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. |
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 ] |
<span style="color: lightblue">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). |
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 ] |
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#. |
Quote:
[ 04-07-2004, 04:16 PM: Message edited by: Seraph ] |
All times are GMT -4. The time now is 12:25 AM. |
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved