User profile: mekkatorqu

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

vector push_back class
well obviously, as constructor is called whenever the class is created, I just didn't think about pu...

vector push_back class
I see, not sure why I didn't think about using constructor >.< thanks

vector push_back class
how bad/good is this code? I mean, how do you push back class to a vector in other way? is this some...

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...