I've got a question...we all know double arrays a[100][100], but how to change it into linked list or like" linked list to linked list" that we could transfer data like in a double array a[j]?
12345....
2
3
.
.
.
Ideas?
Graph>weighted>minimal tree>neighborhood list(yes normally matrix, but i need LIST) ???
Onixtender 0
Newbie Poster
Recommended Answers
Jump to PostYou'll want to create a structure that is designed like a binary tree. One pointer points to the next row in the matrix, and the other points to the next element in the row. So your structure would look something like:
struct matrix { int data; struct …
All 3 Replies
John A 1,896
Vampirical Lurker Team Colleague
Onixtender 0
Newbie Poster
John A 1,896
Vampirical Lurker Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.