Author Topic: C++ guide (TUT1)  (Read 227 times)

0 Members and 0 Guests are viewing this topic.

Offline sthilla

  • Special Ops!
  • Grunt
  • *
  • Posts: 19
  • Karma: +65535/-0
  • CrossfireHackerz!
  • Location: Somewhere In The World
    • View Profile
C++ guide (TUT1)
« Reply #2 on: November 10, 2011, 06:37:09 pm »
"How to learn C++?

C++ isn't easy and it takes time to learn.But it's very helpful if you know some basics.

So I decided to make a guide(I'm not so good at C++ but I know something I gathered some information that I found on the net)

What you'll need
What's next?

C++ is an "object oriented" programming language created by Bjarne Stroustrup and released in 1985. It implements "data abstraction" using a concept called "classes", along with other features to allow object-oriented programming. Parts of the C++ program are easily reusable and extensible; existing code is easily modifiable without actually having to change the code. C++ adds a concept called "operator overloading" not seen in the earlier OOP languages and it makes the creation of libraries much cleaner.

What you'll need:
Visual Studios 2008 Express The free version of Visual Studios, this compiler is capable of handling large projects very easily, as well as importing a variety of SDK's, it contains so many features it would be impossible to list them all. I wouldn't recommend using this compiler when first learning C++, because learning just how to use VS could interfere with learning C++. However there are a few who start off with this compiler right away. If you decide to go ahead and start off with VS it will keep you from having to learn how to use VS later on, like I am having to do now. In the end every programmer advances to VS, whether you want to jump right in or simply wait to learn the basics first is just a style preference.
Dev-C++ A very simple IDE to start off with. It's good for beginners. It allow your to quicky test codes right away without having to worry about to many elaborate features.
Other: Code::Blocks, Eclipse C/C++
[ame=""] C++ Primer Plus (5th Edition): Stephen Prata: Books[/ame] C++: A Beginner's Guide, Second Edition (0783254043275): Herbert Schildt: Books
Online Tutorials/ebooks
C++ Language Tutorial
C++ Beginner's Guide
C++ - Free computer books
60 C++ Video Tutorials This site is hard to navigate through, but if you look it has tons of free stuff.
Useful links
MSDN- Pretty much the only link you'll ever need.

What's Next?
Once you learn all the basic concepts of C++(classes, pointers, virtual function, etc.) it's time to move on to some cool stuff. But make sure you learn the basics first. If you skip over this it's going to come back and bite you in the... well just trust me you NEED to know the basics first. Once you have completed the basics you can move on to DirectX, and some basic Windows API. There is more information here in the Intermediate Concepts of Game Hacking.

C++ maintains aspects of the C programming language, yet has features which simplify memory management. Additionally, some of the features of C++ allow low-level access to memory but also contain high level features.

C++ could be considered a superset of C. C programs will run in C++ compilers. C uses structured programming concepts and techniques while C++ uses object oriented programming and classes which focus on data. Read about the History of C and also about the History of C++.


Copyright 2012 CrossFireHackerz. All rights reserved.