I have a question I have declared a letter as an array and based on any other parameter, this array Has to look different.
Four maps [10] [10]; Switch (Stage) {Case 1: // map NR1 map [10] [10] = {{'#', '#', '#', '#', '#', '#', '#', '#', '#', '#', '', '', '', '', '', '', '', '', '#'}, {'#', '', '', '', '', '', '', '', '', '#'}, {'', '', '', '', '', '', '#' ,' ',' ',' # '}, {' # ',' ',' # ',' ',' And ',' ',' # ',' ',' ', '#', '' , '#', '#', '', '', '', '#', '', '', '#'}, {'#', '', '#', '#', '# ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' ' ','#'}, {'#','Phase 1',' ',' ',' # '}, {' # ',' # ',' # ',' # ',' # ', '#', '#', '#', '#', '#'}}; break; Case 2: // map NR2 map [10] [10] = {{'#', '#', '#', '#', '#', '#', '#', '#', ' # ',' ',' ',' ',' ',' ',' ',' # ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' '', '', '', '', '', '', '', '', '', '', '#', '', '', '', '#', '', '', '' , '', '', '#'}, {'#', '', 'And', '', '', '', '#', '', '', '#'}, { ' # '', '', '#', '', '', '', '#', '', '', '#', '', '', '#', '#', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', , '', ' ' ','#'}, {'#','Phase 2',' ',' ','#'}, {' # ',' # ',' # ',' # ' , '#', '#', '#', '#', '#', '#'},}; break; } Now my question is: Why do I get this ?:
Comments
Post a Comment