Announcement

Collapse
No announcement yet.

C++

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • C++

    I'm interested in learning C++ and i was wondering if any of you guys could tell me about any books that are good for learning C++, keeping in mind i dont know a whole lot about programming.

  • #2
    It's very difficult to find a "good" book. The problem is that most C++ books start off with a lot of class stuff such as iostream.h (cout << and cin >>) which is a crappy way to program. The alternative would be to start with C and work up to C++, but C books are a bit harder and not object oriented if that's what you intend on learning. So any path you go, I think you are going to end up with a C++ bo ok that isn't the best but still will teach you the basics of the language. So start with C and then learn the object oriented stuff later. ASSS is written in C and Mervbot is written in C++. The differences in the languages are small.

    Comment


    • #3
      Dc++
      thread killer

      Also who changed to pw to Squadless, how am I supposed to fly the banner of sucking at the game

      Comment


      • #4
        What made you choose C++?

        I'd recommend you start by learning about Object Oriented Programming.
        The book "Design Patterns Explained: A New Perspective on Object-Oriented Design" would be a good starting point. The "Design Patterns..." book by the Gang Of Four is, obviously, one of the most important books about OOP, but not very well suited if you're only just beginning to learn about the subject.

        As you do not yet have alot of programming experience you really shouldn't start with C++. I would recommend you start with Java instead.
        Last edited by Fallen Angel; 03-13-2005, 07:24 PM.
        There's no place like 127.0.0.1

        Comment


        • #5
          If you can afford it, get at least two books as some books are better than others for certain topics. As well, if ever you get stuck during a particular topic you can always look at the other book's explanation for a better understanding.

          Comment


          • #6
            "Teach yourself C++ in 21 days" is nice, it starts from describing simple concepts like the difference between compilers and interpreters and teaches you the language including tricks and do's and dont's step by step.

            1:Eeks> well that bichix was trying to start conversation with me today
            1:Eeks> and got excited when i said i wanna go drink today =/
            1:Eeks> but i didn't propose anything
            1:Zloy> Why
            1:Eeks> i didn't have anything to fill that box zloy

            Comment


            • #7
              It depends on what you want to do. If you want to write bots for subspace, then you can pick either Java or C++ (or perl). If you want to write ASSS modules, you need to learn C. Personally, I think Java is crap but research both (wikipedia.org) and decide on what you want to start on. Remember that the ultimate goal is to develop faster and better programs, the only way to do this is to use lower level programming languages and understand how computers function. No matter where you start, C will be one of the most powerful languages you will encounter. ASM is best but not reasonable to use for large programs; but its great for microcontrollers if you want to get into that.

              Comment


              • #8
                Just learn C. No one actually uses C++.

                Comment


                • #9
                  Visual Basic.NET is a more fun/easier language, but I doubt it has as much capability as c++ or java. I wonder if we could do bots in J# or C#...?

                  Comment


                  • #10
                    Originally posted by 50% Packetloss
                    ASM is best but not reasonable to use for large programs
                    Current compilers make using assembly a waste of time.
                    FREE MANDELA

                    Comment


                    • #11
                      Originally posted by Stultus
                      Current compilers make using assembly a waste of time.
                      Not at all. Assambly code is still very much more efficiënt and compact then the code any 3rd generation language compiler could ever produce.
                      Last edited by Fallen Angel; 03-14-2005, 08:16 PM.
                      There's no place like 127.0.0.1

                      Comment


                      • #12
                        Stop talking just to impress people. The guy is INTERESTED in learning C++, why the hell does anyone have to talk about assembly? Don't put the guy off! Starting with Java is a good point however, with the added incentive that it can be used to make TW bots :


                        Originally posted by Sleepy Weasel
                        Just learn C. No one actually uses C++.
                        I can't tell if you are joking or serious

                        Comment


                        • #13
                          Heh, Inheritance and polymorphism all the way!!

                          Comment


                          • #14
                            pfft, screw C++, learn Java and then you can program for TWCore
                            Ban Ikrit

                            Comment


                            • #15
                              Originally posted by Jacen Solo
                              pfft, screw C++, learn Java and then you can program for TWCore
                              I knew you where going to say something like that

                              I already red like 3 books of C++ but it's not easy. Every book begins with Cout << "balblabla" << endl;
                              cin >> $var >> endl;

                              Or something like that.. I always forget what I learned.

                              The [subject] for dummies are always good books to. And C++ in 24 hours or C++ in 21 steps.
                              help: (how do i shot) (Public 0): how do i travel diagonally? i only have up, down, left and right keys.

                              4:PinkSTAR <ER>> ask DP he knows me inside and out

                              Comment

                              Working...
                              X