Tutorials for utilizing a structure in a monster battle/adventure program?

I have been unable to find any tutorials which utilize structures for a monster battle/adventure program.

It seems that classes are utilized the most in these types of programs.


Where can I find these tutorials, if they exist?
A structure is the same as a class, except the default access is public instead of private. These two snippets are equivalent:
1
2
3
4
5
6
7
8
9
10
11
12
class A{
    int a;
public:
    int b;
};

class B{
public:
    int a;
private:
    int b;
};
1
2
3
4
5
6
7
8
9
10
11
12
struct A{
private:
    int a;
public:
    int b;
};

struct B{
    int a;
private:
    int b;
};
Registered users can post here. Sign in or register to post.