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...
Type: Posts; User: _jr
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...
[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...
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
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.
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...
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...
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....
>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...
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 :-/
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...