Search:

Type: Posts; User: basha2013

Search: Search took 0.38 seconds.

  1. Replies
    6
    Views
    1,403

    Re: Missing return statement

    Hi ,use the simple if like

    if(board[i][j] == NUL_CHAR)
    {
    return false;
    }

    if(board[i][j] != NUL_CHAR)
    {
    return true;
  2. Replies
    6
    Views
    1,403

    Re: Missing return statement

    The compiler expect, if the second if statement [else if(board[i][j] != NUL_CHAR)] also false then this method does not return any boolean value. That's why it showing 'missing return statement'...
Results 1 to 2 of 2