Search:

Type: Posts; User: _jr

Search: Search took 0.01 seconds.

  1. Replies
    23
    Views
    2,239

    Write a pseudo-code or just code your assignment...

    Write a pseudo-code or just code your assignment in any language you feel comfortable. Once you have it done translating to C wouldn't be any hard, the logic behind its simple enough for you to reach...
  2. [B] // alter your function to return a pointer...

    [B]
    // alter your function to return a pointer
    MYSQL_RES *query_db(char *my_query) {
    ...
    MYSQL_RES *result;


    result = mysql_use_result(conn);
    // Don't need the conn anymore, close...
  3. Replies
    2
    Views
    1,398

    Salem, Sorry for such late reply. Indeed you...

    Salem,

    Sorry for such late reply. Indeed you were right, the make file is not being build correctly, editing and adding the -L manually fix the problem.

    Right on the spot.

    Many thx,
    Arley
  4. Replies
    160
    Views
    274,819

    Sticky: Memory as a Programming Concept in C and C++,...

    Memory as a Programming Concept in C and C++, ISBN-10: 0521520436
    Great book for those who want to have a deeper insight on memory programming.
  5. Replies
    2
    Views
    1,398

    Nignx + Mysql: Problem linking on Linux (gcc/ld)

    Hello Everyone,

    I.m kindy new to linux&nginx development, so please excuse any nub questions...

    Im having a problem linking nginx with mysql client libraries. Libraries are there and were...
  6. Thread: HTTP call in C

    by _jr
    Replies
    4
    Views
    1,016

    Socket

    What about using sockets?
    Create a basic http comand string (eg: "GET / HTTP/1.1") and send() trough a tcp socket...then recv() the response data...
  7. Replies
    6
    Views
    8,444

    hmm

    While TCP stream does not preserve boundary, UDP does, so 1 UDP send() == 1 UDP receive(), and afaik (and I can be wrong) a single UDP message (send()) may be no more 65k in size....
  8. thx

    >What do you think will happen when the thread tries to dereference it's pointer?
    Actually, the threads do not use dwThreadId in any way. I will later use it to shut them down..but they're not meant...
  9. Well..

    The orginal article is indeed in C++, but my app is in C, as u may find on the comment posted by me on the article :-/
  10. Threads, Linked Lists, Semaphores, Critical Section ...

    Hi all,

    I'm having some issues on a multi-thread app. Wonder if ne1 may help me out...

    Since I followed an article from codeguru i'm posting the link directly to the thread as it contextualizes...
Results 1 to 10 of 11