Is there a function to display large array on command prompt with displaying only part of it and waiting until user enters something from keyboard.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
There is no equivalent to the *nix
The quickest fix is to do the following:
Which will page the matrix row-wise first, then column-wise (swap the loops if you want the opposite).
You may also need to put in conditionals to handle index out of bounds, etc. but I chose not to clutter the code with that.