If you have a lot of spare time, you could also try reading Thinking in C++ which you can download for free.
And finaly, having an IRC client running in the background and being connected to ##C++ on freenode (and #blenderchat ,#blender while you’re at it) could be interesting, as you’ll read there conversations about the language that you might not see on any forum.
I don’t know Java or any other programming language :). I can see how my sentence can confuse someone. I want to learn Java but I want to learn it through C++.
The links you sent me are great. Bookmarked. Thanks.
http://www.codeproject.com/. great place. thousands upon thousands of existing articles and forums for every programming topic under the sun. i’ve even written an article there.
From looking at your other posts, you already know a lot about Blender. If you start with Python, and then move to the Blender Python API, much of what you learn will just be relearning how to do some of the same things that you already know with code. You hear a lot of talk about “real programming languages” such as C++, and if you start with something like Python, you will never become a “real programmer”. As someone that has used everything from BASIC to Assembly, I don’t think it’s true. I think it’s all about aptitude. Scripting languages just let more people get into programming. If you’re good at it, you will still be able to do the more hard core programming. I would start with Blender Python. You should be able to pick it up fairly quickly.
Incidently, I just downloaded all the source code for Blender. Talk about a lot of code!
I think it’s mainly due to the fact python/java/etc let some people get very bad habits, and when they switch to C/C++ they expect to just be able to rewrite their stuff without too much thinking.
And it’s not some sort of fairytale, as I’ve seen many python/java coders join ##C++, ask for help because their code doesn’t work, and get “is that even C++?” as a reply.
The saying “C allows you to shoot yourself in the foot rather easily. C++ allows you to reuse the bullet.” isn’t really a joke actually.
I just started learning C++, I already know ruby and python and after learning some of the basics of C++ I wonder how its so much better, I don’t know, its just my opinion.
Take the arrays, you have to define how big they will be, thats a major killer for me and also how you cant return an array. But thats just because I’ve spent so long in lower class languages, I here that programming in python is more streamlined and efficient but the end result is not as good.
Well, I really like it this way, especially dynamically allocated arrays. Trying to return an array as it is will lead to memory leaks and bad things happening, but you can pass it to a function as an argument, and modify it inside the function.
Or you could use vectors, as most C++ coders will tell you.