Search:

Type: Posts; User: outlaw2k5

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,018

    The problem is that the function has no way of...

    The problem is that the function has no way of knowing how big your array is. The proper way to pass in an array to a function is


    int array[10];
    int array_size = 10;

    void foo( int arr[], int...
  2. Replies
    1
    Views
    1,461

    The short answer is you have to clear the screen...

    The short answer is you have to clear the screen surface between button presses to attain the desired effect.

    There are a few ways of doing it, the most straight forward way is to use

    int...
Results 1 to 2 of 2