sorry... i should have known to post it all... i should add that this is just as far as i've got. i still have no real clue as to how to set it up so that it is a vigenere table.
CODE
#include <iostream>
using namespace std;
//global variables for vig array
const int ROWS(26);
const int COLS(26);
int main ()
{
//i want to use this array to fill the first row of VIG.
char ALPH[26]= {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
//define our VIG 2-d array.
char VIG[ROWS][COLS];
//i loop to cycle thru the rows
for(int i=0; i<ROWS; i++)
{
//j loop to cycle thru columns
for(int j=0; j<COLS; j++)
{
//this sets each value in the array to its
//corresponding one from "ALPH"?
VIG[i][j]=ALPH;
}
}
cout<<VIG;
return 0;
}
even broad suggestions would be appreciated. i'm really in a "coders block" here and i need to get this done soon.
thanks