• Post Reply Bookmark Topic Watch Topic
  • New Topic

arrays  RSS feed

 
richard stockman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a simple problem, I am trying to fill a 2d array 12 rows and five columns with unicode characters from 65 to 124 using nested for loops. I understand how the nested loops work but I cannot work out how to put the correct value into each array. I guess this is a simple math problem which is where I am struggling. Does anyone know of any good text on maths for programming.

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no text which will teach you this. Use your head
65+(5*r)+c
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!