Arrays

Hey guys hope you all had a great Thanksgiving.
I need some help again. I am writing a program that lets the user enter a number and then it is supposed to convert the number into long roman numeral and then short roman numeral. I need to create 2 parallel arrays of 20 elements each. one array must contain whole numbers and the other must contain strings.repeating steps until the arrays are full and repeating the value that the user put in to the next consecutive number. I have worked on it for some time and I think that I keep making it worse cause it will not work at all. This is what I have.


#include "stdafx.h"
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;


int _tmain( )
{

const int NUMBER_OF_ROWS = 5;
const int NUMBER_OF_COLUMNS = 20;
enum numType { Decimal, LongRoman, LongRoman, ShortRoman, ShortRoman};
int matrix[NUMBER_OF_ROWS][NUMBER_OF_COLUMNS];
int row, column, value;
int convertToRoman (unsigned int val, char *res, size_t sz);
char *huns[] = {"", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM"};
char *tens[] = {"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"};
char *ones[] = {"", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"};
cout << "Please enter a number between 1 and 5000" << endl;
cin >> value;
string list[20] [3];
for (row = 1; row < NUMBER_OF_ROWS; row++)
{
for( column = 0; column < NUMBER_OF_COLUMNS; column++)
cin >> matrix[row][column];
}




system ("pause");
return 0;
}



Am I doing anything right or not? Any help would be greatly appreciated:)
Topic archived. No new replies allowed.