C++ As First Language

Started by
71 comments, last by Fredericvo 11 years, 9 months ago
Serapth, actually taking a glance at the book [color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

[background=rgb(250, 251, 252)] [/background]

[/font]C# Programming Language I think the book is more of a reference than an actual tutorial book for novice begginers like me. Also it does not have any exercices seeing it from the preview contents...

Failure is not an option...

Advertisement

Other than that what should i watch out? Where i might be tricked?


As for the C++11 style -- read this:
http://herbsutter.co...modern-c-style/ // "Elements of Modern C++ Style" by Herb Sutter
http://msdn.microsof...y/hh279654.aspx // Welcome Back to C++ (Modern C++)

And watch this:
http://channel9.msdn...D2011/TOOL-835T // Writing modern C++ code: how C++ has evolved over the years

Should be good for starters :-)

// If you need more, this is pretty good (but not free $$$): http://www.artima.co..._of_the_new_cpp // Presentation Materials: Overview of the New C++ (C++11) by Scott Meyers

*The* C++11 book I can *strongly* recommend is coming out soon:
http://www.informit....isbn=0321714113 // "C++ Primer, 5th Edition" by Stanley B. Lippman, Josée LaJoie, Barbara E. Moo
Incidentally, Barbara E. Moo happens to be one of the "Accelerated C++" co-authors -- nuff said :-)

// EDIT: Serapth, perhaps you might be interested in taking a look, this one introduces smart pointers immediately, in the very same section it introduces dynamic memory -- as it should be :-)
I honestly don't think C++ is that hard. It's just very broad and flexible so it's easy to overlook certain features. Or if I rephrase you can do so much with it that it can be a little confusing for someone who's new to understand why the language is so detailed and let's you do certain things until you understand more advanced concepts.

Personally if I had to learn a first language I would choose Java because it's syntax is similar to C++ and it's easier ; pretty much every problem is documented on the web making it easy to move on. It also renders the same results no matter your OS.

Then again, my two friends learned C as their first language and they rock. It's all about how much effort you are willing to put into learning. They are both in electrical engineering though and rather strong in arithmetic's.

[size=1]I "surf" the web, literally.

C++ is the founding father of the world. Learn it.

Good luck

It's all about how much effort you are willing to put into learning.


Only if you are doing it wrong. It *should* be all about minimizing the amount of effort you need to put into it.
It depends. I got no programming experiences but I started out C++ as my first language because I want to program games. :D So far, it took me.....2 or 3 weeks to understand the first chapter. XD LOL
Ok guys i have been hearing a lot about how bad C++ is as a first language[/quote]
C++ is by no means a bad language to start with, sometimes transitioning from one language to another is harder.
Is really C++ that hard for a begginer?[/quote]
No, C++ is fairly easy if you take your time to learn it, just like any other language.
Is it impossible to learn C++ as first language? or it just requires some more dedication than other languages? or maybe i just havent got to the difficult things yet....[/quote]
It is by no means impossible to learn C++ as your first language, its a great language. It is extremely versatile and quite frankly can do a lot of things most other languages cannot. If you eventually master C++ you will find learning other languages to be significantly easier.

I personally found this book to be pretty good when I checked it over: C++ Without Fear: A Beginner's Guide That Makes You Feel Smart
C++ is not easy. You can, however learn it as your first language. But you will most likely pick up some very bad practices along the way.

The book you recommend, DevLiquidKnight, seems to be another example of a bad C++ book. It teaches the wrong topics at the wrong time (considering the table of contents and index), it refuses to teach very important topics in an adequate depth (two pages for smart pointers), heck, it doesn't even mention any STL containers beyond std::list. This seems to be a terrible book. And even this terrible book's title implies that C++ is hard. If you worked through this book and you believe you know C++, you're wrong.
Thank you for trying to help me biggrin.png , but Guys now i start getting a little comfused here, cause many say stick with C++, others start with C# or Java or Python.


From what i see in Amazon, Python has some really well made introductary books like this one http://www.amazon.co...howViewpoints=1 (very positive reviews) and this http://www.amazon.co...howViewpoints=1 (great reviews too)

While in C# i still havent found a good introductory book. (dont like Head First neither C# programming language cause its not really a tutoral than more of a reference)

In C++ I am a little comfused, first because some peoeple say it is not such a bad first language when others disagree (Well we have discussed this theme already and you dont have to start giving arguments why its better or not cause I have already seen the two sides of the opinion)What I would like you to do to help me is to tell me if there is really a good book to start with this language cause all we have mentioned so far are not good (by your opinions neither C++ Primer Plus nor C++ Without Fear).

In Java i found this http://www.amazon.co...9&keywords=java and http://www.amazon.co...8&keywords=java if you have any other good books to recomend me better that these two tell me to check them out.


So what I really want from you is to tell me which language you prefer most and a good introductory book with it. I will check all the books reviews and see what is better for me. Thanks Again!

P.S. I forgot something important.. if i am about to learn a diffrent launguage from C++ I want to learn it and be ready to move on C++, not learn a second launguage again and then go to C++.

Failure is not an option...


P.S. I forgot something important.. if i am about to learn a diffrent launguage from C++ I want to learn iT and be ready to move on C++ not make another launguage again first and then go to C++.


You probably shouldn't think that way, you will most likely never "move on" to a new language, languages are just tools so rather than moving between languages in some sort of progression from bad but easy to hard but good you just keep adding new languages to your toolbox, almost every language out there is good for something. (And while most programmers have a favorite language a good programmer will choose language based on the task at hand)

For me the languages that i currently(as in, on a near daily basis) have a real use for are: C#, Java, C++, Python, PHP, JavaScript and Lua, Of those PHP and JavaScript are primarily for the Web and Lua primarily as a scripting language (and thus generally not used exclusively on a single project).

Learning C# or Python first is very unlikely to be a waste of time as those are languages that can be used for a very wide variety of things and you are very unlikely to abandon either of them completely even if you become a C++ expert.
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

This topic is closed to new replies.

Advertisement