Search:

Type: Posts; User: pankleks

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    842

    I wish it was that simple. The whole problem is...

    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.
  2. Replies
    2
    Views
    842

    structure array

    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...
  3. Replies
    2
    Views
    1,560

    It works but not quite as I would like it to...

    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...
  4. Replies
    2
    Views
    1,560

    problem with subroutine

    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...
  5. Replies
    7
    Views
    2,138

    It works as expected, Thanks. I wonder what is...

    It works as expected, Thanks. I wonder what is that extra '*' in all, array of pointers to array pointers?

    Luke
  6. Replies
    7
    Views
    2,138

    string to pointer array

    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...
Results 1 to 6 of 6