Search:

Type: Posts; User: cbrman

Search: Search took 0.01 seconds.

  1. Thank you very much, that seems to work as well. ...

    Thank you very much, that seems to work as well. I assumed they had prototyped the 3 functions already but when I got errors I tried putting it in. For some reason at the top of the file, above the...
  2. Well I try to prototype the 3 functions in the .c...

    Well I try to prototype the 3 functions in the .c file we are supposed to modify and it gives me all of these errors:
    line 10: warning: old-style declaration or incorrect type for: cpu_init...
  3. hmmm, Well I see what you are saying but I...

    hmmm,

    Well I see what you are saying but I cannot do this. The assignment is/has already been written, the main .c file is not able to be modified. We were handed a cpu.c file and were told to...
  4. thanks, I changed it to the new style and it...

    thanks, I changed it to the new style and it gives me pretty much the same error:

    line 164: identifier redeclared: insert_ready
    current : function(pointer to struct pcb_node {int pcb_id,...
  5. Question on function syntax and calling function

    Ok, I was given a function to fill out for a programming assignment.

    The function header is as follows:




    insert_ready(pcb)
    PCB* pcb;
    {
Results 1 to 5 of 5