User profile: TheGrayWolf

User info
User name:TheGrayWolf
Location:Bulgaria
Bio:A hobbyist.
History
Joined:
Number of posts:62
Latest posts:

private objects
Don't pass mat as a parameter to create(). [code] class object { public: void create(); pr...

Would classes be good for this?
You may want to have different types of swords/armors/potions/etc. in which case, you can inherit fr...

What's wrong with this?
Well, you use [i]index[/i] on several places, so it is better to declare it in the beginning of the ...

Arrays
Sure, read here http://en.wikipedia.org/wiki/Binary_number

One question about printf()
Of course it can! Here are couple of examples [code] int a = -4; int b = 10; printf("%d \n", a)...