I am trying to create an array where the array occurs 1000 times and with in this array 2 fields occur 1000 times each

  arrays, c++

I am converting a program from sqr to Pro*c. The sqr version has an array of:

      MAXTABLES = 1000
    create-array name=tabColumns
            size={MAXTABLES}
            field=table:char
            field=column:char:1000
            field=datatype:char:1000'

Basically each table occurance can have 1000 columns and 1000 datatypes. I have no knowledge how to accomplish this.

Any help is appreciated.

Source: Windows Questions C++

LEAVE A COMMENT