Search:

Type: Posts; User: tylorstern

Search: Search took 0.01 seconds.

  1. Thread: Sudoku Code

    by tylorstern
    Replies
    7
    Views
    1,437

    The row size, as well as column size, is 9, you...

    The row size, as well as column size, is 9, you are correct. I would use an existing puzzle but the difficult aspect is that the grid has to randomize and create a brand new different grid for every...
  2. Thread: Sudoku Code

    by tylorstern
    Replies
    7
    Views
    1,437

    I forgot to update Part 1 so now it is: ...

    I forgot to update Part 1 so now it is:



    for (r = 0; r < size; r++)//start from 1st row to check columns
    {
    for(c = 0; c < size; c++)
    {
    count[r][c]++;
    ...
  3. Thread: Sudoku Code

    by tylorstern
    Replies
    7
    Views
    1,437

    Thank you for that, I've reduced the number of...

    Thank you for that, I've reduced the number of indentations. However, my main concern with this code is I keep coming up with "Segmentation fault (core dumped)" and I am completely unsure where and...
  4. Thread: Sudoku Code

    by tylorstern
    Replies
    7
    Views
    1,437

    Sudoku Code

    I am a beginner at C++ and I would be so kind is someone can help me fix my code, especially with the count integers in part 1. Here's my code. Thanks!




    #include <stdio.h>
    #include...
Results 1 to 4 of 4