int main(){
int *map[12][12][5], monster = 0, mnstMdfy = 0,mnstDths[26];
mnstDths[6] = 0;
map[1][0][0] = (int *)malloc(sizeof(int));
map[1][0][0] = 71;
...
Type: Posts; User: Caleb Duncan
int main(){
int *map[12][12][5], monster = 0, mnstMdfy = 0,mnstDths[26];
mnstDths[6] = 0;
map[1][0][0] = (int *)malloc(sizeof(int));
map[1][0][0] = 71;
...
struct node{
struct node* back;
int data;
struct node* next;
};
struct node *head;
struct node *tail;
struct node *temp;
void main{
After creating a structure and trying to assign the address of a node to the linked list, the program builds correctly, however crashes upon running. Any help? Thanks.
struct student{
...