Follow up:
If you'r going the hard-coded struct route, something like the following will work
#include <iostream>
using namespace std;
struct X
{
int i;
char* str;
};
X Tbl[3] =
{ { 1, "First" },
{ 2, "Second" },
{ 3, "Third" } };
int main()
{
for (...