Search:

Type: Posts; User: Durango2011

Search: Search took 0.01 seconds.

  1. Hi Jim, I posted in multiple forums. I am not...

    Hi Jim,
    I posted in multiple forums. I am not sure if that's discouraged, but I would not know why it would be.

    Thank you Algorism for your input.

    Anyway, I found the key issue my declaration...
  2. Weird behavior when populating array from file

    Hello folks!

    I am trying to go back and revisit C/C++ programming and to refresh myself I decided to try some projects from the MIT C programming course. Here is the link for anyone interested:...
  3. Replies
    2
    Views
    5,654

    Need ideas for C/Linux project

    Hello, I am looking to get more involved in advanced C concepts such as threads, sockets, and signals.
    I was wondering if anyone had some good ideas for a project that would cover these concepts? :)...
  4. IPC communication between parent and child

    Hello I am working on a cli/server project, where when a client connects to the server, the server spawns a new thread to handle the client. So for each client a new thread is spawned.

    This is...
  5. Replies
    28
    Views
    2,259

    The problem is that in the function...

    The problem is that in the function display_array(int count) you create a new WorkerRecord struct. This means that the values in this variable have not been set and can cause undefined behavior. ...
  6. Replies
    2
    Views
    788

    I understand this, my question is that since the...

    I understand this, my question is that since the callback function returns an integer and I need to retrieve a struct from it, how can I do this? So basically is there a way I can pass a pointer as...
  7. Replies
    2
    Views
    788

    question on function pointers

    Hello I have another question this one regards function pointers.
    I have an api function that has the following prototype.




    int sqlite3_exec(
    sqlite3*, ...
  8. problem with memory allocation and structs

    Hello I am working on a program that requires me to use structs. I am
    allocating memory for the struct and the variables defined in them.
    I am sure there is something incorrect with my code...
  9. Replies
    3
    Views
    1,980

    Thank you for the replies I see my...

    Thank you for the replies I see my misunderstanding :)
  10. Replies
    3
    Views
    1,980

    passing struct pointer to function.

    Hello, I am trying to write a function that will take a struct pointer and some other values defined in the struct and within the function allocate memory for the struct and pass the values to it. ...
Results 1 to 10 of 10