Actually, I change the approach from Linked list to array. But , still I am facing the same problem to assign the address to the struct data members.
I have this struct
struct fifo{
int...
Type: Posts; User: santy
Actually, I change the approach from Linked list to array. But , still I am facing the same problem to assign the address to the struct data members.
I have this struct
struct fifo{
int...
Yes.. you got it right...
Here the buffer is used used to hold the deleted values for further calculations.
I thought it would be easier to handle the situation. Do you think the array...
Thanks for the reply. I am using Linux and rcgldr is correct. I am using two threads running on two cores. The memory area (memory location) is shared between two processes (no virtual memory)..
Hi,
I want to write a program where one core (core 0) will fill the FIFO and other core (core 1 ) will delete the data from FIFO.
Core 0:
I create a fifo
struct node
{
Thanks a lot Jim:)...
Hello Jim,
Thanks for the quick help. I am still confused about that code.
Because, as compiler was saying variable is not declared but the variable "rear" is struct data member, so why should I...
Hi, I follow one article's help to write a c code that is to make FIFO Circular queue. During Compilation I am getting the following error:
ERROR:
fifo1.c: In function ‘enqueue’:
fifo1.c:43:14:...