Search:

Type: Posts; User: kox

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,692

    problem is in sharing the array itself

    Hi @ all

    @ caligalimus
    Sorry, I have to correct myself,
    I think youre right, the correct making external should be with the index([5]).
    the array definition got lost cause i redefined it as an...
  2. Replies
    8
    Views
    2,692

    Hi @ all @ iMalc thx for your help The...

    Hi @ all

    @ iMalc thx for your help

    The pointer is defined correctly, i tried some examples and figured out that the mistake is about the
    tst_user[i] array.
    For any reason i cant re-use this...
  3. Replies
    8
    Views
    2,692

    Hi @ all @ caligulaminus but when i do this...

    Hi @ all

    @ caligulaminus

    but when i do this :

    extern int tst_user[5];

    i get an unresolved externals error;
  4. Replies
    8
    Views
    2,692

    here you are (code snippets)

    thx for your reply

    here is the relevant code:
    file1 filling the array:



    int tst_user[5];

    int Fill()
  5. Replies
    8
    Views
    2,692

    assign the value of an array to a pointer c++

    Hello @ all
    I`m trying to do the following:


    pTest->tst[0] = user_tst[0];

    content of array is at this index 0x00

    which doesn't work and stucks me to the following error:
Results 1 to 5 of 5