Search:

Type: Posts; User: Salem

Search: Search took 0.71 seconds.

  1. Replies
    7
    Views
    18,636

    Read my post again, you managed to delete a...

    Read my post again, you managed to delete a critical space in the scanf call.
  2. Replies
    7
    Views
    18,636

    > scanf("%s",matrix[i]); The problem here is...

    > scanf("%s",matrix[i]);
    The problem here is you're reading a string, not a char.

    Perhaps
    scanf(" %c",&matrix[i][j]);
Results 1 to 2 of 2