Author

Topic: I'm going to try learning C++ then maybe something else (Read 780 times)

legendary
Activity: 1540
Merit: 1000
I dunno really, I wish I could learn it, but every time I try to it's just one fucking headache after another lol Tongue if it's explained to me bit by bit though I could struggle through it perhaps but I think I'd be better off designing a game rather than trying to code one which is my ultimate aim. My brain is definitely more towards Art and Economics than it is towards the maths area with all those damn equations and everything and of course I'm much better at making things with my hands.
legendary
Activity: 947
Merit: 1042
Hamster ate my bitcoin
I code in C++ and opengl. I find the ability to code for the GPU using shader languages very exciting. The GPU can be used to perform lots of tasks including things like physics. But, there is a lot to learn.

I use code::blocks most for my IDE as its open source, cross platform and supports a wide range of compilers. The compiler I user most is the gnu gcc compiler in conjunction with mingw.

Debugging is an art, it can only be learned by doing. This involves lots of scratching of the head and experimentation. The error messages produced by compilers can be hard to interpret, but remember, that is because the compiler doesn't know what you are doing, so it can only state literal facts about the compilation attempt.

legendary
Activity: 1918
Merit: 1570
Bitcoin: An Idea Worth Spending
legendary
Activity: 1540
Merit: 1000
*head desks*
hero member
Activity: 952
Merit: 1009
I started C++ using C++ For Dummies. It's quite effective despite what the title may imply.  Wink

That's what I'd recommend too to get a basic understanding of the whole thing. Shame they were not around when I first learned programming. We only had the reference manuals back then and believe me, that's no fun.
legendary
Activity: 1288
Merit: 1227
Away on an extended break
I started C++ using C++ For Dummies. It's quite effective despite what the title may imply.  Wink
legendary
Activity: 1540
Merit: 1000
Oh crap I posted this by accident lol how?! I closed the browser!

......

Oh well and yes, that's why I was trying to close it... Okay seriously how the fuck did I post this? Someone must be trying to force me to learn code.
legendary
Activity: 1386
Merit: 1000
English <-> Portuguese translations
If you don't know what a bracket does, then you need a teacher/tutor, not a book.
You're on a very basis of software development, learning from your own and on websites will not help that much.
Learning OpenGL is far worse IMO, if you hate maths, run before you get crazy.
legendary
Activity: 1288
Merit: 1080
And also, if what you are specifically interested is C++/OpenGL, and if you're looking for a project where to practice, and if you like video games (especially Minecraft), I would suggest you consider helping for the open-source, LGPL Minecraft clone called minetest.

http://minetest.net
administrator
Activity: 5222
Merit: 13032
Also, in case you don't know C either, you should really consider reading 'The C programming language', from Kernighan and Richie.  It's a must.

C style is very different from C++ style. It's good to learn, but I'd learn C++ first.
legendary
Activity: 1288
Merit: 1080
Also, in case you don't know C either, you should really consider reading 'The C programming language', from Kernighan and Richie.  It's a must.
administrator
Activity: 5222
Merit: 13032
I recommend C++ Primer by Stanley B. Lippman.
legendary
Activity: 1176
Merit: 1001


If you don't find any good references online, buy some printed books.
You could start to lean a c++/like language like PHP that should be easier.

During the last year of what you would call a "high school", i had to learn delphi. It's like coding with the dinosaurs. There is structure like
Code:
while something do
begin
    your code
end;
in c++ that becomes something like
Code:
while (i < 10)
{
    i++;
}

(just to explain you what brackets are and why you will love them).
legendary
Activity: 1288
Merit: 1080
Learning C++ is not an easy task and indeed it seems to me that free online documentation is not much available.   I'd be happy if someone could point us to a good one, though.

Otherwise, you'll probably need a printed C++ reference manual.
legendary
Activity: 1540
Merit: 1000
Well from what I've gathered there are obviously a lot of programmers hanging around here so I thought what better place to ask about C++/OpenGL than here. Now I looked at sites like cprogramming etc. which do a decent job of explaining basic commands to you but what pisses me off is that none of these sites explain what all the brackets etc. are supposed to do so how on earth am I expected to do anything with the code on my own? All that happens when I tried to type it all by myself is I get a mass of error messages because of course I don't know what to do with all the extra stuff that isn't the commands.

So for basic C++ at least for now does anyone have a website or book they can talk to that explains every little detail in the code like a glossary? If I can get that then maybe I'll stand a chance of understanding it all, I've experimented with OpenGL and managed to make a warped cyan triangle ( lol ) clearly I need to start searching for stuff to help me understand all of this.
Jump to: