Didn't seem to make a differance. But thanks anyway.
Type: Posts; User: Flex
Didn't seem to make a differance. But thanks anyway.
C:\Program Files\Miracle C\queue_insert.c: line 3: Parse Error, expecting `'{''
'struct node'
aborting compile
This is the code I don't see the problem with it.
#include <stdio.h>
struct...
Can someone please send me a copy of a working queue that will except integers and allow for deletion of nodes.
Can someone give me an idea on how to turn the following program into dynamically allocated link list. Currently I have a linked list that I am using but I was told it does not dynamically allocate...
I tried your solution and the program acts the same. My problem lies where I try to initialize the array to my random # output. So I guess I need to know how to initialize the array to the numbers...
I would like to fill my array with the 40 numbers I generated randomly, but it doesn't seem to be working right. Here is the code:
#include <stdlib.h>
#include <stdio.h>
int main()
{
int i,...
I get help with the cast and it should run I am using two compilers one works and doesn't leave the output window open the other still gives me an error. Cut and paste this and see if it runs as is...
I am looking to solve the error of "c++ forbids implicit conversion from 'void *' in assignment". Here is my declarations and below is the section of code that is effected.
#include <stdio.h>...
I have a linked list I am using to represent a fifo paging algorithm. I believe all the logic is good, but I am getting a compiler error that I could use some help with.
c:\program files\miracle...
Does anyone here have any experience creating a fifo paging algorithm using c. I need to randomly generate a reference string and then fill in the linked list with the ref string. the ref string will...
Can someone please give me a working example of a single linked list that adds and deletes.
I can't seem to get my linked list to execute. I am using miracle c compiler and i found a tutorial online here. When I run it I get the following error:
C:\Program Files\Miracle...