I wish it was that simple. The whole problem is how to put a structure in array so that array[0] will point to my_struct.
Type: Posts; User: pankleks
I wish it was that simple. The whole problem is how to put a structure in array so that array[0] will point to my_struct.
How can I assign the same structure multiple times to an array.
For example "my_struct array[0]", "my_struct array[1]" and so on, so that array[0] is the same as array[1]. The reason I want to do...
It works but not quite as I would like it to work. For different carry value I have to create a different structure name assigned to the same structure (my_struct) and then put it in the function...
I have select() that works with two sockets, socketA and socketB.
When there is data pocket on socketA the data is being processed by the subroutine that returns a value and also stores a carry...
It works as expected, Thanks. I wonder what is that extra '*' in all, array of pointers to array pointers?
Luke
I have the following array of pointers:
const char *arr1[] = {"Test 1","Test 2",};
const char *arr2[] = {"Test 3","Test 4","Test 5",};
There can be arr1, arr2.........arrN. Then I have an...