How much C++
-
- Posts: 1
- Joined: Wed Apr 24, 2013 11:54 pm
How much C++
How much c++ should I learn to work with Irrlicht. I was reading c++ primer 5th edition but it seemed to cover more than was nessecary. For example bits, I doubt I will ever use them in Irrlicht. I can kind of grasp the tutorials but I don't know much c++ just loops,arrays/vectors,strings, and arithmetic. I dont know about classes. I understand pointers with ints and other built in types but I dont understand how a pointer to a driver or mesh or scenemanager work. I want to learn enough c++ to write a game with irrlicht.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: How much C++
Well, even bits can be useful, e.g. when working with the selection masks in scene node selection. Anyway, classes are fundamental, and you won't get far with just basic program logic constructs. Work through any of the C++ books until the 'advanced' stuff begins, which is also marked as such inthe books. Or - to make it more related to Irrlicht - work through the examples given in the Irrlicht SDK and read the book always when you reach a construct that you don't understand. There's no way to an Irrlicht based application without good C++ knowledge
Re: How much C++
Let's say much C++ will never be enough C++... Learn as much as you can, and you will have it a lot easier.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Re: How much C++
well, i think you NEED pointers and classes to work with Irrlicht... and almost everything else (plus pointers and classes) to make a game.
Re: How much C++
On my opinion the hardest part to program in C++ or any other language is not knowing the language itself but knowing how to design your software, in order to use irrlicht and not run in a endless loop of crashes and circular dependencies you will need a decent level in C++ and software design, an example i always write to someone who wants to write "complex" C++ code is this small snippet, if you dont understand what it does and why it outputs what it does then you need to keep reading about C(++)
Code: Select all
char* test = "hello";
while( *test )
{
++*test;
++test;
}
-
- Posts: 51
- Joined: Tue Jan 02, 2007 11:04 pm
- Location: huntington beach
Re: How much C++
Having a strong understanding of C++ will definitely help you a lot. You will write better code and design your program better if you understand why everything works together rather than simply being able to write code that functions.
Programmers are merely tools to convert caffeine into code.
Re: How much C++
is there any GOOD book, which is dedicated to c++ with game programming? I'm searching for book like this...
-
- Posts: 7
- Joined: Sun May 05, 2013 12:06 pm
Re: How much C++
I highly recommend the video lectures on PluralSight regarding c++
Re: How much C++
There is another possibility, c# with IrrlichtLime. C# is an easier language to learn. And with the Lime wrapper you can your irrlicht. This works well. I personally do this or use C++ with irrlicht, running comparisons.
As for books, a single book that covers c++ and graphics is not wise as it does both poorly. Get a book on C++. Ivor Horton books are good.
Then for graphics, you need to learn about Graphics in General, there are many books available or online. The books on Irrlicht are good but they assume at least a basic knowledge on Graphics.
As for books, a single book that covers c++ and graphics is not wise as it does both poorly. Get a book on C++. Ivor Horton books are good.
Then for graphics, you need to learn about Graphics in General, there are many books available or online. The books on Irrlicht are good but they assume at least a basic knowledge on Graphics.