Hyena
October 25th, 1999, 07:28 AM
is it possible to make a linked list of objects? for example, if i made an object called card and defined it as follows-
class oneCard {
public:
char face[10];
char suit[10]
int value;
};
could i make a stack of oneCards? i already made a functioning linked list for integers, but im not sure how to do it for objects.
class oneCard {
public:
char face[10];
char suit[10]
int value;
};
could i make a stack of oneCards? i already made a functioning linked list for integers, but im not sure how to do it for objects.