Search:

Type: Posts; User: nonlinearly

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,331

    RPC programming with Microsoft C

    Hi,
    I have an old CTI (compouter-telephony integration) call "CTConnect" from "dialogic" that came with oracle siebel crm application to have call recognition. This application now owns to...
  2. Replies
    12
    Views
    2,135

    Because I do not know Visual C++ 2010 I would...

    Because I do not know Visual C++ 2010 I would appreciate a step by step approach if am not cumbrous...
    And where the .dll relates to all these if I need only the .lib?
    thanks..
  3. Replies
    12
    Views
    2,135

    The question was about the link to a .dll and...

    The question was about the link to a .dll and .lib not the interpretation of errors.
    Anyway I copy-paste them:

    ctconnectAPI.obj : error LNK2019: unresolved external symbol _ctcErrMsg@4 referenced...
  4. Replies
    12
    Views
    2,135

    How to link a dll to my c program

    Hi I have an old inherited file with c code (visual studio 6). I compiled this file in Visual C++ 2010 (I made a solution and a win32 console application) and was ok. But when I did the build to make...
  5. Replies
    14
    Views
    2,814

    do not cheat. I know that for this purpose I can...

    do not cheat. I know that for this purpose I can create a project/solution to build a win32 console application but I think that this is an overkill for such a simple job.
    Also 3.000 euro costs the...
  6. Replies
    14
    Views
    2,814

    15.000 euros to send me to command line?

    We have the ultimate visual studio 2010 and we paid for this 15.000 euros.
    Sometime we had to compile and run a file with C inherited code (we did not buy Visual Studio 2010 only to compile...
  7. Ok... I remind you that this book is for...

    Ok... I remind you that this book is for educational purposes only. So this kind of artistry is not recommended because some new to C (and maybe in programming) can lose valuable time trying to find...
  8. A question about node deletion in a linked list

    I am reading a function that deletes a node from a simple linked list from the C how to program fifth edition:


    char delete( ListNodePtr *sPtr, char value )
    {
    ListNodePtr previousPtr; /*...
  9. Replies
    13
    Views
    2,794

    The difference is that with this approach we can...

    The difference is that with this approach we can not refer to an element using subscript notation (for example ptr[1][2] is not valid).
    thanks for your responses... you have helped me to understand...
  10. Replies
    13
    Views
    2,794

    SORRY... I meant int array[2][3]; int *ptr;...

    SORRY... I meant


    int array[2][3];
    int *ptr;
    ptr=(int *)array;
  11. Replies
    13
    Views
    2,794

    Sorry my fault.. I will correct it

    Sorry my fault.. I will correct it
  12. Replies
    13
    Views
    2,794

    I came back... I think that the original...

    I came back...
    I think that the original question should be with 2 dimensional array like:


    int array[2][3];
    int (*p2a)[3];
    p2a=(int (*)[3])array;


    In this situation the cast is...
  13. Replies
    13
    Views
    2,794

    Thanks

    Thanks
  14. Replies
    13
    Views
    2,794

    Implicit conversion between pointers?

    I am reading K&R book. In section 5.3 there is this code:



    int a[10];
    int *pa;
    pa=a;


    I think that should be:
  15. Ok I have understand... To conclude therefore:...

    Ok I have understand...
    To conclude therefore:
    the way we simulate an array with the malloc has nothing to do with how C perceives a real table (least as regards the interpretation of "array" -the...
  16. I say again and no one can refute this (try it):...

    I say again and no one can refute this (try it):
    if we have an array a[2][3] created with the malloc() like the code in the fist message then array does not equal to array[0] (it seems logical)...
  17. 1. Ok if array is not a pointer then what is it?...

    1. Ok if array is not a pointer then what is it?
    To convert something means that it was something before.
    2. when you say "If we have a 2D array" with witch method the array created? With malloc or...
  18. Ok redefines the question... We know that when...

    Ok redefines the question...
    We know that when we have a 2D array for example array[2][3] then array is a pointer that points to a second pointer a[0] ie array=&array[0]. And this second pointer...
  19. I post you a code snippet from the book "Teach...

    I post you a code snippet from the book "Teach Yourself C in 20 Days". Run it...


    /* Demonstrates pointers and multidimensional arrays. */

    #include <stdio.h>

    int multi[2][4];

    ...
  20. Why multiarray pointer is equal to multiarray[0]?

    We create a 2D array with classic declaration:int array[3][4]
    And we create an array with malloc(): marray[3][4]
    In the first case we find that array=array[0]
    BUT in the second marray does not...
  21. Because I am learning C and when you are learning...

    Because I am learning C and when you are learning something want to discover the limits. This makes you feel more confident...
    Thank you...
  22. I have also another issue (tell me if I have to...

    I have also another issue (tell me if I have to post it in a new thread):
    We create a 2D array with classic declaration:int array[3][4]
    And we create an array with malloc(): marray[3][4]
    In the...
  23. Ok then I replace it with: if p is a pointer to a...

    Ok then I replace it with: if p is a pointer to a pointer then we can also do this (using void *).
  24. Also I would like to change something in your...

    Also I would like to change something in your code that I believe makes things more clear.
    In line 9 I think that sizeof(*array) may change to sizeof(void *) because we need to allocate memory for a...
  25. laserlight... you are right... thank you!

    laserlight... you are right... thank you!
Results 1 to 25 of 27
Page 1 of 2 1 2