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...
Type: Posts; User: Durango2011
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...
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:...
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? :)...
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...
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. ...
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...
Hello I have another question this one regards function pointers.
I have an api function that has the following prototype.
int sqlite3_exec(
sqlite3*, ...
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...
Thank you for the replies I see my misunderstanding :)
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. ...