Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int columnCount, rowCount;
- cout << "Enter the amount of rows in you matrix: ";
- cin >> rowCount;
- cout << "Enter the amount of column in you matrix: ";
- cin >> columnCount;
- const int rows = const_cast<const int&>(rowCount);
- const int columns = const_cast<const int&>(columnCount);
- int matrix[rows][columns];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement