pretty much here is a rough outline of what i have done
struct monster
{
int health;
int armor;
monster *nextaddr;
};
int main()
{
int num;
monster *pointer;
printf("how many monsters do u want");
sscanf(%d, &num);
pointer = (monster*)malloc(num * sizeof(monster));
//Here i need some kind of LOOP to populate "x" number of monster objects depending in the input the user entered, my problem arises because im not sure how to correctly do this with the pointer i am given....any advice is greatly appreciated!
return 0;
}