Yes, the problem did go away after I fixed the initialization.
Appreciate the second pair of eyes to look over my dumb mistakes.
Thanks!
Type: Posts; User: slee8251
Yes, the problem did go away after I fixed the initialization.
Appreciate the second pair of eyes to look over my dumb mistakes.
Thanks!
#include <stdio.h>#include <stdlib.h>
typedef struct node
{
void* dataptr;
struct node* next;
} NODE;
#include "queue.h"
QUEUE* CreateQueue(void)
{
QUEUE* queue;
queue = (QUEUE*)malloc(sizeof(QUEUE));