Search:

Type: Posts; User: jomns

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,363

    english version of recursive function

    Hi there,
    this is the english version of my recursive function:


    //=======================================================================================//
    // function...
  2. Replies
    6
    Views
    1,363

    killgore

    To Killgore.

    The problem we have now is that when we try the option verstandig zetten and diepte e.g 2, so the computer sees the status of the game two turns ahead and decides what the best i and...
  3. Replies
    6
    Views
    1,363

    recursive function problems

    Hi there,
    I am writing a game called othello. This game is played by the computer and the computer user. The game is played on a board.
    The player can choose between white and black color. Where...
  4. Replies
    4
    Views
    1,547

    thanks

    Thanks that was what I was looking for!
  5. Replies
    4
    Views
    1,547

    dynamic memory

    I am sorry that was typed wrong, what I meant was:



    int h, w;
    cout << "Give the high of the board \n";
    cin >> h;
    cout << "Give the width of the board \n";
    cin >> w;
  6. Replies
    4
    Views
    1,547

    dynamic memory and arrays

    I am learning c++
    and a found an example on pointers and arrays:

    ..
    int n;
    cout << "Give an integer: \n" ;
    cin >>n;

    int *a;
    a = new int[n];
Results 1 to 6 of 7