Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-05-2012, 07:32 PM   PM User | #1
T.Smith
New to the CF scene

 
Join Date: Nov 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
T.Smith is an unknown quantity at this point
Getting started with C++

Hello, I was wondering what the best way to start learning C++ would be. I want to learn C++ because I have a big interest in gaming and how games are made. I know this will take time but I have a lot of spare time and would really like to learn C++. I currently know some HTML that I have learnt from college but they don't teach C++ so I was hoping someone could tell me the ways in which I could start learning it.
T.Smith is offline   Reply With Quote
Old 11-09-2012, 01:24 AM   PM User | #2
FlexBuffChest92
New Coder

 
Join Date: Mar 2012
Location: USA
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
FlexBuffChest92 is an unknown quantity at this point
Do you have any prior programming knowledge?
FlexBuffChest92 is offline   Reply With Quote
Old 11-10-2012, 11:15 PM   PM User | #3
DELOCH
Regular Coder

 
DELOCH's Avatar
 
Join Date: Apr 2006
Location: Canada
Posts: 537
Thanks: 4
Thanked 2 Times in 2 Posts
DELOCH is an unknown quantity at this point
C++ is just a language, just like HTML, Java, or Visual Basic.

The things that you want to learn are not C++, but game programming concepts.
I believe gamedev has a forum of people who can explain many concepts that you
would like to understand, including many articles of how to do things like collision
detection and such.

When it comes to game design, the language is a don't-care, because no matter
what language you program in, your biggest issues will be getting the libraries for
getting things done, like game engines, text processing, physics, drawing, loading and manipulating resources, and so on.

This is even more significant to understand because many of the current games are more worried about managing resources, maintaining modularity, and making sure you can fix bugs when they come up, rather than going "oh, why should I store 1 in an integer when I can store it in the first bit of a character to save space?".

In summary, you should focus more on what you really want to accomplish, resources needed such as text processing, game engines, and so on, and getting used to putting them together in a modular way without particularly making your code unmanageable while not knowing anything about the libraries outside of their general theories and assertions, and standard terminology.

Overall, you will learn far more by copying programs and getting them to actually compile, then building onto that knowledge, rather than learning everything all at once. This does not mean you will not come into situations when language itself does things you have not learnt about, and cannot combat it. Therefore you should have a good experience with language before doing things like this, or use a more high level language such as java which will immediatly notify you in most cases when you do something that you did not intend to do...

Hopefully this helped.
~DELOCH
DELOCH is offline   Reply With Quote
Old 11-20-2012, 06:52 PM   PM User | #4
billzo
New to the CF scene

 
Join Date: Aug 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
billzo is an unknown quantity at this point
Get a book on C/C++ and download a IDE. I learned C++ years ago using Visual Studio. You can download a free copy of Visual Studio Express from Microsoft and start learning.
billzo is offline   Reply With Quote
Old 11-25-2012, 09:46 PM   PM User | #5
KULP
Regular Coder

 
Join Date: Mar 2012
Posts: 166
Thanks: 5
Thanked 11 Times in 11 Posts
KULP is an unknown quantity at this point
Quote:
Originally Posted by T.Smith View Post
I currently know some HTML that I have learnt from college but they don't teach C++ so I was hoping someone could tell me the ways in which I could start learning it.
What kind of college doesn't teach C++? I'd honestly question the quality of your education. HTML is nothing like C++, but it's better than nothing. My school uses http://bit.ly/ToKyuh for our intro C++ class, and it's a pretty big book so if you're willing to fork out the cash it will get you pretty deep. Also look for older versions if they exist, should be dirt cheap.

Quote:
Originally Posted by DELOCH View Post
The things that you want to learn are not C++, but game programming concepts.
Sorry but you can't develop a game without hands on experience. Concepts can only do you so much. Good luck learning the concept of OOP without stepping up and trying it yourself.

Quote:
Originally Posted by DELOCH View Post
When it comes to game design, the language is a don't-care, because no matter what language you program in, your biggest issues will be getting the libraries for getting things done, like game engines, text processing, physics, drawing, loading and manipulating resources, and so on.
You're right as far as 'which language' but you have to start somewhere. You think game developers learn one language and a bunch of concepts? No, they get their hands dirty with an array of languages so they have options later down the road.


--------

I'd suggest you dive in with a language of your choice and just have fun with it. Learning C++ will be a bigger task than learning HTML or anything else web related but if you have a passion for it then go for it! (and consider changing schools )
KULP is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:30 PM.


Advertisement
Log in to turn off these ads.