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...
Type: Posts; User: tylorstern
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...
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]++;
...
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...
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...