Like this page!
facebook
twitter
google
google
1 2 3 4 5 6 7 8 9 10 11 12 13 Next >>>




Page number: 1

C++ Introduction Part 1


The chapters:


1) C++ Introduction
2) Our first program!
3) C++11
4) Variables
5) Floats and operators
6) Exam Preparations
7) Functions
8) Header files
9) Structs



Welcome to the C++ book. We are going to learn how to create simple programs with C++ and then we will create our own console game. Even though you might not like console programs and especially text-based games, I assure you that those are the first steps to exceptional 3D game programming and are indispensable no matter what programming language you choose. The reason why I choose C++ and most companies do, is that C++ uses both low level and high level possibilities of the micro architecture of the CPU and the user interface. It is quite intuitive, letting us to manage and control system usage. We have to learn simple things and then we will be smart enough to create our own games. Nearly all the books out there state that beginnerís books are for both those who just start and to refresh the knowledge of experts. This is what this book aims for and also to create the console game which will be very easy in the end.

The history of C++ is very interesting. It came a time when the computer programs really needed some better control between hardware and software. This was very difficult at the time, when the C language was the main leader of all systems, even MS-DOS and Linux. Bjarne Stroustrup, invented C++ in order to have a much better way of control of what the programmers were in search for. C++ had everything every programmer could dream of and it is potentially used even nowadays. The learning curve is steep, really, if you donít want to learn for years but you are just trying to create some fast programs or games, this place is not for you and this book will just be a waste of time. This is for the most hardcore programmers who live with their computer, love to create their own software and have maximum optimization, standing out from all other software out there. This is it guys! The C++ programming language is for you, but before you start though I will explain some very important stuff.

If you just want to create games as fast as possible, I strongly suggest not reading this book. It needs a lot of learning, seriously. You could try to find out some software like RPG Maker or others, which will make you the game faster than you might think of. The reason why this is the best way to go if you really want to create your own games and live with it, is that C++ is still a low level language, letting you to optimize huge game engines, using advanced features and it even helps you with object oriented programming. Other programming languages, might be good but donít have the same support as C++ does. Even those software you will use, might be based on C++, but you will do everything the software can, nothing more. C++ optimization is the winner here, plus the game programming libraries, like Allegro 5, DirectX 11, OpenGL 4 and much more. It will also be compatible with nearly every device, letting you use the game, software or anything else globally.

What you might dislike is the learning time you will need. There are a lot of people which made games in less than a year, but I tell you that I personally created a space shooter with Allegro 5 in less than 3 months of C++ learning. This was completely wrong though and I will tell you why. When trying to learn how to create games, you will have to concentrate on the programming language you will use, not on the game library. This is at first, since after all you will have to use the gaming library. No matter how much you will learn in C++ there will always be stuff which you didnít think they existed. A lot of people say that it is normally needed six years to create an AAA+ game, but it could be more or less depending on the time you spend learning. If you are just starting with C++ donít be afraid at all, it is very simple, just the time you will need to learn it is quite steep.

Discuss more on the forums >>>

Page number: 1

1 2 3 4 5 6 7 8 9 10 11 12 13 Next >>>


Comments

Brutal on 2013-10-20


Would love to contribute to this project. Seems very easy to understand and gives fast results.

wasi90lk on 2013-10-20


Nice features. This can definitely help us compare graphic cards.

mehdi on 2013-11-17


how can move objects ?
in this program you clear the screen,if there is two thing then this can,t help
if some one know how do that please send me email .
mehdiparizi20@yahoo.com


Only registered members can comment. If you have already registered, you can login here.