It is necessary to read the string value from the RichTextBox into an array. 
It is necessary to add these lines (something like the adjacency matrix) to the array:
int GM[n][n] = { {0, 1, 0, 0}, {0, 0, 1, 0}, {1, 0, 0, 1}, {0, 0, 1, 0}, }; It is necessary to read the string value from the RichTextBox into an array. 
It is necessary to add these lines (something like the adjacency matrix) to the array:
int GM[n][n] = { {0, 1, 0, 0}, {0, 0, 1, 0}, {1, 0, 0, 1}, {0, 0, 1, 0}, }; RichTextBox using the Lines property;String::Split each string into substrings comma separated by String::Split ;StringToInt32 ;Source: https://ru.stackoverflow.com/questions/527124/
All Articles