irrlicht and C++

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

irrlicht and C++

Post by Guest »

Ok this is probably a really stupid question bu here it goes. Alright I dont know any C++ at all not even a little scrap, although i do know C and Assembly language. My team and I were using the cipher engine for the game we are currently devloping but weve ended coming over to irrlicht do to the really crappy support and half assed documentaion of the cipher engine. Cipher is written in C wich i liked makes it easy to code the game in C. Here is my question even though irrlicht is written in C++ will i be able to get by with writing the game in C or will i be forsed into using oop, i am guessing the answer is yes, since most likely the irrlicht api is all set up around objects and the such.
Xception
Posts: 22
Joined: Tue Feb 24, 2004 10:05 am

Post by Xception »

You can write your game with C, but you have to use C++ for calling methods.
Methods are functions of a class.
But that is basically all, you don't have to make your own classes if you don't want to.
Just look at the examples, they are really easy to understand.
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

Alright I dont know any C++ at all not even a little scrap, although i do know C and Assembly language
If you know C, you alread know more than 50% of C++. The basics of OOP aren't hard, and shouldn't take long to learn. As Xception said, you will have to use objects for Irrlicht library calls, but the structure of your game need not be OOP, though managing all the Irrlicht objects would of course be slightly trickier if you don't use C++ classes of your own.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
Post Reply