Creating a surface when curves are given

Hi all,
I have 2 curevs ad what I want is to create a surface out of these curves.Can anybody plz guide me,Here I’m using glfw with c++


Thank you.

There are an infinite number of surfaces that could be created from a couple of curves. Without more details about how exactly you want to create such a surface, there’s no way to help you.

it would be like connecting those curves vertically.

Thank you.