This is first structure. With Random.h, created array of integers size 9 and printed it.

Result is below. array 'num' will be used judge if arr[3][3] is well created(if there is no repeated number)




Now, I added judgement if that 'arr' array is created well so there is no repeated number. So, I added array named 'arrNum' size 9, which will save created numbers.


   int arrNum[9];



and substituted created numbers in it



and rearranged arrNum by ascending order, using bubblesort algorithm



'공부(Study)' 카테고리의 다른 글

First Win32 Project  (0) 2017.02.15
Start studying MFC  (0) 2017.02.15
Sudoku Game with C++ - day 3  (0) 2016.07.21
Sudoku Game with C++ - day 2  (0) 2016.07.08
Java Study - day1  (0) 2016.07.06

+ Recent posts