Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Vigenere table c#

Name: Derpina 2012-03-04 14:11

Hi guys, I'm trying to get a Vigenere table into a 2d array, but after the code the table array get's null values.

            char[][] table = new char [25][];
            int n = 0;
            int m = 0;
            int i;
            int diff;
            for (i = 65; i == 91; i++)
            {
                if (n != 0)
                {
                    i = i + n;
                    if (i > 90)
                    {
                        diff = i - 90;
                        i = 64 + diff;
                    }
                }

                table[n][m] = Convert.ToChar(i);
                m++;
                if (m == 26 && n < 26)
                {
                    n++;
                    i = 65;
                }
            }

I'm kinda new at this and trying to learn

Name: Anonymous 2012-10-31 21:36

Derpina
Fuck off back to Reddit News.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List