Hello mates. I need to create a table with co-ordinates such as in chess table :
horizontaly with numbers 1,2,3... and vertically with letters - A,B,C,D. There comes a problem. While in chess the table is 8x8 (you simply use the letters from A to H), in my case the table has size MxN. Otherwise its size is unlimited! And i cant think of a way to count with letters instead of numbers ;(
|
Considering there are 26 letters in English, 27 will be equal to AA, 28 = AB , AC, AD....AZ, AAA, AAB, AAC, AAD and so on. (as in MS Excel). But how to count with char ?
[edit] Sorry about spamming. I removed the other posting.