Search:

Type: Posts; User: dungeon

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    421

    Sure will consider this henceforth... I read that...

    Sure will consider this henceforth... I read that accessing array elements using pointer is much faster than using subscript but as of now it doesn't matter much to me...
    PS: As array dimensions...
  2. Replies
    9
    Views
    421

    Thanks...:) made it work using below function...

    Thanks...:) made it work using below function prototype & function call in main


    void display(int, int, int[][col]);
    display(row, col, X);

    and below function definition


    void...
  3. Replies
    9
    Views
    421

    true but... there is difference between passing a...

    true but... there is difference between passing a pointer to the first element & passing a pointer to the (whole) array
  4. Replies
    9
    Views
    421

    Thanks... but do you mean to say that we can't...

    Thanks... but do you mean to say that we can't achieve this task (in C) using a pointer to the array?
  5. Replies
    9
    Views
    421

    Pointer to variable length array

    Refer below code for variable length array:


    #include <stdio.h>


    int main()
    {
    int row, col;
  6. Thanks for the pointer man... will study this &...

    Thanks for the pointer man... will study this & surely update... but it might take some time (as i am bit slow :))
  7. Responding to user input | WM_KEYDOWN | Virtual Key

    Following Window Procedure draws a specific pattern using WM_PAINT message (executes correctly). Now when user hit the UP arrow key, I want this pattern to move from position x=500, y=250 (declared...
Results 1 to 7 of 7