hi.
i wanna make an application that with this you can reserve ticket for your travel , in fact
designing system of one airline and when i want to create database(some 2d matrix that save number of seat in flights ,it errors.
the number of flight set in different place and the is changing
this is my code:

QString** matrix = new QString*[numberofFlights];
for (int i = 0; i < numberofFlight; i++)
{
matrix[i] = new QString[numberofSeats];
}


what class in qt should i use.

can someone help me ,i 'm in hurry
thanks