How can I define two dimensional dynamic array? ,i'm Writing Dijkstra Algorithm program,i wanna each node that connected to another nodes its value save into array.in fact , it should be dynamic two dimensional Array.not specified which one of nodes connected to another nodes.