Make a 3D surface using heights alone

I have 2D array with relative heights in in ranging from 0.0-5.5.
for eg

0 0 0 1.1 0
0 0 1.1 1.1 0
0 1.1 1.1 1.1 0

Now I want each index be seprarted by a 0.01 distance, or smaller, and at each index height be raised to value

This is actually a good exercise for a newbie to GL. Have you decided whether you are going to use modern or classic GL? I’m a classic GL guy. You don’t say what you want this surface to look like? It could be discrete points, a wireframe grid, or a carpet plot (polygonal surface draped over the grid). First things first - do you have a GL program that you can compile and run that displays anything in 3D?