Banner

Repeat

End

Forums

HavenForts: Construct JetFists - The Chronicles of Wargasm (Episode 2, NeoForts)
  #1  
Old 11-22-2008
SANTARII's Avatar
..?
Experienced Builder
 
Join Date: Dec 2007
Location: In a sepia rainbow.
Posts: 439
Default Best Place To Learn C++?

Just wondering where the best place to learn C++ is, a specific book/site?
__________________
___________________________________________________________________________
Reply With Quote
  #2  
Old 11-22-2008
WoTD: Craptactular
Master Craftsman
 
Join Date: Mar 2007
Location: Wouldn't you like to know
Posts: 945
Default

This is a good free book -> http://www.mindview.net/Books/TICPP/...ngInCPP2e.html

I have no idea how much programming experience you have, but if you're only just starting in programming, trust me, C++ is NOT the place to start
__________________
Quote:
Originally Posted by TTTP
Damn fate... he's always chasing me for more blocks...
Reply With Quote
  #3  
Old 11-22-2008
pew, pewPEW
Experienced Builder
 
Join Date: Jul 2008
Location: Yorkshire
Posts: 286
Default

If you've never programmed before, Visual Basic is what you want. It was designed for beginners.

C++ Is probably one of the most complicated languages, you'll pretty much need to know everything about programming to use it well.
__________________
Never, ever, click.
Reply With Quote
  #4  
Old 11-22-2008
Sayyan's Avatar
Grandly Delusional
Veteran Fort God
 
Join Date: Dec 2006
Location: Plymouth, UK
Posts: 5,233
Send a message via MSN to Sayyan
Default

Lies and slander. I learned C++ when I was 8. Although I had been learning BASIC for three years prior.

Still it's one of the best languages to learn to begin with, if you're the kind of person that learns by challenging yourself. If not and you're on Windows, C# is a fantastic place to start if C++ is your goal.

Learning a language isn't hard, it's the theory that's the part that takes years to matter. Learn your language of choice (if you want to get to C++ as quickly as possible, without learning with it, go with a C-like language, Wikipedia will have a list); then learn how object orientated programming works, learn some design patterns.

If you have all this down, learning basic C++ is a one night job, just makes sure you understand pointers thoroughly.

Then get something like the Source SDK, something big and mystical and get a C++ reference. Then just do something. Anything, start making changes, find out how the engine does particular things, if there's anything you don't get, look it up in the reference.

And compile lots, if you have VS set up for debugging Source, it's easy to just hit debug and it will keep you interested, seeing your changes so quickly.

As far as books go, I learned from tutorials back when I was 8 and now just use online references for anything I'm not sure about.

Most of the books I do own are more esoteric, How to Think Like a Programmer is an excellent one, as is the Pragmatic Programmer. But they're both more about how to program well and don't focus on any syntax.

As far as programming books go, I would know what to suggest for C++, but I recommend Head First C# to my C# students.
__________________
God.
Reply With Quote
  #5  
Old 11-22-2008
Sayyan's Avatar
Grandly Delusional
Veteran Fort God
 
Join Date: Dec 2006
Location: Plymouth, UK
Posts: 5,233
Send a message via MSN to Sayyan
Default

Also please, C++ is not one of the most complicated languages at all.

C++ is just the same as any other C-like language, it shouldn't take you any more or less time to learn it. As I say, just get your head around object orientated programming and you'll be flying along.
__________________
God.
Reply With Quote
  #6  
Old 11-22-2008
WoTD: Craptactular
Master Craftsman
 
Join Date: Mar 2007
Location: Wouldn't you like to know
Posts: 945
Default

I agree, once you've got the theory down, its basically the case of learning a new syntax, which can range from an hour or two to an all nighter job, depending on the language. That's why if you ever apply for computer science at uni (like me) they're not interested if you say you know 10 languages. It's what you do with them that they care about, since picking up languages is not difficult.

If you want a C-like language that has a very simple syntax (and own a mac), learn Objective-C, since it's designed to be simple, and null pointers don't crash it. You can also mix C and Objective-C in the same file if you'd like as, like C++, it's a subset of C
__________________
Quote:
Originally Posted by TTTP
Damn fate... he's always chasing me for more blocks...
Reply With Quote
  #7  
Old 11-23-2008
computeraddict_ressurect's Avatar
Entity Guru
Flag Capper
 
Join Date: Jul 2007
Posts: 2,437
Default

Quote:
Originally Posted by OCBpLayer View Post
If you've never programmed before, Visual Basic is what you want. It was designed for beginners.

C++ Is probably one of the most complicated languages, you'll pretty much need to know everything about programming to use it well.
Yuck, stay the hell away from VB. Start with QB or just straight BASIC if you can. Stay away from object orientation to start with, especially the OO/procedural bullshit that is VB. Speaking of which, C++ also falls under the category of "identity confused languages"...

Quote:
Originally Posted by Sayyan View Post
Lies and slander. I learned C++ when I was 8. Although I had been learning BASIC for three years prior.

Still it's one of the best languages to learn to begin with, if you're the kind of person that learns by challenging yourself. If not and you're on Windows, C# is a fantastic place to start if C++ is your goal.

Learning a language isn't hard, it's the theory that's the part that takes years to matter. Learn your language of choice (if you want to get to C++ as quickly as possible, without learning with it, go with a C-like language, Wikipedia will have a list); then learn how object orientated programming works, learn some design patterns.

If you have all this down, learning basic C++ is a one night job, just makes sure you understand pointers thoroughly.

Then get something like the Source SDK, something big and mystical and get a C++ reference. Then just do something. Anything, start making changes, find out how the engine does particular things, if there's anything you don't get, look it up in the reference.

And compile lots, if you have VS set up for debugging Source, it's easy to just hit debug and it will keep you interested, seeing your changes so quickly.

As far as books go, I learned from tutorials back when I was 8 and now just use online references for anything I'm not sure about.

Most of the books I do own are more esoteric, How to Think Like a Programmer is an excellent one, as is the Pragmatic Programmer. But they're both more about how to program well and don't focus on any syntax.

As far as programming books go, I would know what to suggest for C++, but I recommend Head First C# to my C# students.
Sage.

Quote:
Originally Posted by Bucky! View Post
I agree, once you've got the theory down, its basically the case of learning a new syntax, which can range from an hour or two to an all nighter job, depending on the language. That's why if you ever apply for computer science at uni (like me) they're not interested if you say you know 10 languages. It's what you do with them that they care about, since picking up languages is not difficult.

If you want a C-like language that has a very simple syntax (and own a mac), learn Objective-C, since it's designed to be simple, and null pointers don't crash it. You can also mix C and Objective-C in the same file if you'd like as, like C++, it's a subset of C
Sage on the first bit, yuck on the second. Putting kid gloves on C is redundant. As far as null pointers crashing goes, I want my damn program to let me know when something goes wrong. The glaring segfault staring back at you is the best kick in the ass to let you know you're doing it wrong and you should go relearn some stuff or bring a baseball bat for the size of the bugs you're gonna go hunt.
__________________
Quote:
Originally Posted by Frozen View Post
noooo every time someone quotes me I feel like my soul is being taken away a little
Not in cruelty, \ not in wrath, \ the Reaper came today.\ An angel visited \ this gray path, \ and took the cube away.
Reply With Quote
  #8  
Old 11-23-2008
Sayyan's Avatar
Grandly Delusional
Veteran Fort God
 
Join Date: Dec 2006
Location: Plymouth, UK
Posts: 5,233
Send a message via MSN to Sayyan
Default

Must agree with the above, missed the reference to Visual BASIC. It is a terrible terrible language (when I refer to BASIC in my post, I'm talking about BBC BASIC, not much point learning it these days).

There are so many fundamental failures in Visual BASIC it just isn't worth it. To be quite honest, C# is a lot easier to learn, a lot nicer to use and still has the visual GUI builder.

If you need any help while learning you're welcome to post here or PM me directly. Also, if you're not sure what to actually do to learn, I can give you many challenges that are designed to test you on the fundamentals of a specific part of the language.
__________________
God.
Reply With Quote
  #9  
Old 11-23-2008
Az's Avatar
Az Az is offline
wanna PUG!

Veteran Fort God
 
Join Date: Feb 2008
Location: USA/France
Posts: 10,831
Send a message via MSN to Az
Default

I took a VB class at high shcool during one year
now I'd like to try C++, just need some time to really get into this
__________________
Quote:
Shubu: Hi
Shubu: I heard you own sf now
Quote:
Originally Posted by halfwhit View Post
az saves sf again
Reply With Quote
  #10  
Old 11-23-2008
MagicBobert's Avatar
I'M ON A BOAT.
Fort Warrior
 
Join Date: Oct 2006
Location: San Luis Obispo, CA
Posts: 1,158
Send a message via AIM to MagicBobert
Default

All good advice here, I don't have much to add. The only thing I'd reinforce is that it's not about the language, but rather about the ability to develop an algorithm. In that case, some algorithms books or tutorials may help out a bit.

Objective-C doesn't crash with null pointers? Oh man, that's like C for pussies. It takes all the fun out of C!
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:07 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0

Tab