In C, I keep getting the error segmentation fault: 11. I am trying to do priority queues to count the frequency of each
Posted: Thu May 05, 2022 1:16 pm
In C, I keep getting the error segmentation fault: 11. I am
trying to do priority queues to count the frequency of each
character In a file. Here is my Code...
This is the code to all of my priority queue, functions, I
believe that my problem is in printQueue that is giving me set
fault 11, but I am not sure.
This is the code for my main function where I use command line
to take in a text file and read through the data, then I call
create createQnode(), pusQueue(), popQueue, printQueue.
trying to do priority queues to count the frequency of each
character In a file. Here is my Code...
This is the code to all of my priority queue, functions, I
believe that my problem is in printQueue that is giving me set
fault 11, but I am not sure.
This is the code for my main function where I use command line
to take in a text file and read through the data, then I call
create createQnode(), pusQueue(), popQueue, printQueue.