User profile: mekkatorqu

User info
User name:mekkatorqu
Name:Juraj
Location:Slovakia
History
Joined:
Number of posts:372
Latest posts:

Classes - function that will access another class?
but hp is protected, not public :X nvm, got a way around that, thanks

Classes - function that will access another class?
[code]#include <iostream> #include <vector> using namespace std; class NPC { protected: int...

-1 array value?!
@MiiNiPaa I like the foobar2k reference also thanks all for responses edit: k I got it

-1 array value?!
wait, shouldn't "a" have value of 1? as it was created before "x" array, and therefore x-1 was acces...

-1 array value?!
@MiiNiPaa I dont really understand what you just said, but thanks anyway @mobotus but if im not mis...