I have a suggestion which can make things easier if you ever do a multi-dimensional array on a larger scale. Purely for the reason of making things more readable and easier to debug, I have gotten...
Type: Posts; User: aussiemcgr
I have a suggestion which can make things easier if you ever do a multi-dimensional array on a larger scale. Purely for the reason of making things more readable and easier to debug, I have gotten...
//Sentence
String sentence = "The quick brown fox jumps over the lazy dog";
//Declare variable for number of columns
int numColumns;
/* Mod the number of characters in the...
What you need to do is find out what the next number divisible by 16 from the number of characters. This can be done with the if statement I had above, were you use mod ( % ) to determine if it...
Alternatively, you can create a large 2d array, and then a second array that contains reference numbers to the start of each "block".
For example:
//Sentence
String sentence = "The quick...