Search:

Type: Posts; User: DeeMan

Search: Search took 0.00 seconds.

  1. Thread: pthread_exit

    by DeeMan
    Replies
    2
    Views
    634

    Thank you

    Thank you
  2. Thread: pthread_exit

    by DeeMan
    Replies
    2
    Views
    634

    pthread_exit

    Do I have to call pthread_exit for every pthread_create?
  3. Replies
    0
    Views
    1,356

    Running a process in the background

    //main
    #include <stdio.h>
    #include <sys/types.h>
    #include <unistd.h>
    #include <sys/wait.h>
    #include "parse.h"


    int command(Param_t * test);
  4. Thank you so much I see what you were saying, I...

    Thank you so much I see what you were saying, I had to make the function to receive a double pointer. Thanks for all of you support. Also thank you for the website.
  5. i think you should initialize, int position,...

    i think you should initialize, int position, int random, double randomReal, outside of the for loop.
  6. Sorry about the indentation. I was aware that the...

    Sorry about the indentation. I was aware that the arguments can be the same, I just like to name them differently. I also was aware of the if else statement and that one of the arguments will be set...
  7. Thank you for your help

    Thank you for your help
  8. Having trouble passing a value from a function

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>


    #define MAX_CMD_LINE 500


    void chk_for_redirect(char *fun_tknzd, char *opt_rdrct_2, char *inpt_rdrct_2);
  9. Thank you that was awesome how fast you saw that....

    Thank you that was awesome how fast you saw that. I hope you have a great day!!!
  10. Having trouble passing an array of pointer to a function

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    #define MAX_CMD_LINE 500


    void tokenize(char *cmd_ln, char *fun_tknzd[], int *argument_cnt);

    int main(void)
  11. Thread: Priority Queues

    by DeeMan
    Replies
    4
    Views
    987

    Thanks anduril462 cat cat for your responses. I...

    Thanks anduril462 cat cat for your responses. I need to implement a heap, and I have to heap sort the element that are put in it. I have read through the Wikipedia site, and I will try my luck. This...
  12. Thread: Priority Queues

    by DeeMan
    Replies
    4
    Views
    987

    Priority Queues

    Anyone have any good reading material on priority queues? I don't have the foggiest idea how to create one please help.

    -DeeMan
  13. Thank you std10093 and MutantJohn, I made...

    Thank you std10093 and MutantJohn,

    I made those changes MutantJohn, but I also need to look through the link that std10093 sent me to. It was very helpful and I learned a lot from that. I am still...
  14. Linked List ( Return first element in a queue)

    "Hello C world",

    I am trying to write a function to return the first element of a link list queue. I am not real sure how to implement this. I have include a copy of the struct for my Node &...
  15. Replies
    8
    Views
    4,754

    Are you then saying that the FIFO is a...

    Are you then saying that the FIFO is a description of how the queue as a whole works, and the link list is the method in which the internal parts are connected? Therefore meaning that a link list can...
  16. Replies
    8
    Views
    4,754

    Thanks too you both. I just finished reading...

    Thanks too you both.

    I just finished reading both Wikipedia articles. The FIFO only allows data to be moved and deleted from the top of the array, and data can only be add to the array from the...
  17. Replies
    8
    Views
    4,754

    FIFO queue vs Link List

    Hello everyone,

    What is the most distinct differences between a FIFO queue and and a link list.

    This my first post ever, so thank you in advance for your help.

    -DeeMan
Results 1 to 17 of 17