EOSERV Forum > Lounge > Learning C++?
Topic is locked.
Page: << 1 >>
Learning C++?
Author Message
Post #61208 Learning C++?

I have been trying to learn C++ for a while now, but I can't seem to find a guide/book that starts at the very basics of coding. Where should I look for a guide for beginner coding?

14 years, 12 weeks ago
Post #61209 Re: Learning C++?

Heres a good place, Click here

---
CN:BH 4 lyfe
14 years, 12 weeks ago
Post #61210 Re: Learning C++?

Thanks, this is very much appreciated.

14 years, 12 weeks ago
Post #61211 Re: Learning C++?

Anytime mate, Glad i could help ;)

---
CN:BH 4 lyfe
14 years, 12 weeks ago
Post #61256 Re: Learning C++?

You can also download a guide step for step as far as i know. I used it a time ago it tells you in easy little steps how to become pro in using c++ i don't have the link with me atm but you will find it if you google it ;)

14 years, 12 weeks ago
Post #61260 Re: Learning C++?

If you want a comprehensive professional guide you could always spend the money on a textbook. Here's the one I'm using for my classes, it's extremely wordy but also completely covers the language basics (not really sure how it does with advanced stuff, I'm only through chapter 11). You could probably order one for a lot cheaper if you got it used - I do realize it's quite expensive. Depends on your learning style and how serious you are about learning C++.  Textbooks are just like oversized tutorials and written tutorials are how I learn best!

http://www.amazon.com/gp/product/0538798092/ref=pd_lpo_k2_dp_sr_2?pf_rd_p=486539851&pf_rd_s=lpo-top-stripe-1&pf_rd_t=201&pf_rd_i=0619159073&pf_rd_m=ATVPDKIKX0DER&pf_rd_r=1V4DSFSGYPP248ZQCVY8

---
class EOSERV {
Programmer | Oldbie
Open source EO Client: https://github.com/ethanmoffat/EndlessClient
};
14 years, 12 weeks ago
Post #61280 Re: Learning C++?

If you're new to programming, I strongly suggest you start off with a basic "user-friendly" Programming language such as pascal, It really focuses in on the whole begin and end feature that programming almost revolves around, learning how data is grouped and handled couldn't be easier to pick up using pascal. Simple syntax. Simple ideas. For simple minds. Like I. :P It really helped me when it came to learn C++. Just an idea :P!

---
If money doesn't grow on trees, then why do banks have branches?
14 years, 12 weeks ago
Post #61283 Re: Learning C++?

It depends on your style of learning. I never was one for books; I usually would understand it once I saw how to do it and how it works. If that's so, you would want to read a few books on C++ to get the basic feel of it, then start coding and looking off of others code. I wouldn't advise EOSERV, even Sausage know it's shit :P
I would start with reading the guides the others posted then try making a program that implements what you just learned. And when you get to pointers, I would actually take the time to understand how computer memory works since pointers are a big part of coding. (Trust me, they still fuck with me today :( )

My personal opinion, screw Pascal. Start with C++ and you will be comfortable with it. Don't work your way up with another language, because like me, if you learn C++ first, everything else is a peice of cake to learn. C++ is quite easy to learn, but the main problem to others is implementing. You need to learn when to use stuff and when not.

I would also understanding how to be effecient. I will use my good friend elevations for example: He made a code of about 50 if statements. And by if statements, I mean if statements and not else if's. So if you think about it. The program will check each one of the statements(which is 50x the work, unless you just used else if's).

I don't like programming with others because a lot of programmers program in different styles. Insomniac has made a topic about this and he was right.
Some coders like to put a brace right after the if statement:
if (lolwut) {
//code
}
And this just looks plain ugly to me but that is because i'm used to EOSERV's style which is:
if (lolwut)
{
//code
}

There are many other examples like the one above. It doesn't matter, but you will start to develop a style based on whose other code you've viewed.

One huge thing, that me and Sausage have different views about, is variable naming. There are two main types of variable naming: camelCase and underscores.
Because in coding you can't have a space in a variable name, you can use underscores. Which is what Sausage did in EOSERV(looks ugly to me, but he says different).
Or you can lowercase the first letter of the first word and then capitalize all the other first letters in the other words. For example: camelCaseIsCool. This looks good to me, but I guess it's apart of your style.

If the top two paragraphs about styles confuse the hell out of you, just ignore them for now. Learn C++ and when you come back to read about this, it should make more sense afterwards.

---
http://www.addipop.com
14 years, 12 weeks ago
Post #61285 Re: Learning C++?


I personally use camelCase rather then underscores. Especially when you give your code out to begginners, underscored variables can look a little overwhelming. I think it is worth noting that if your in a situation where using a large amount if statements is non-negotiable, try and use switch statements, that atleast speeds things up a bit.

---
Hmm.
14 years, 12 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Lounge > Learning C++?