I have a problem. I want to make,
2 matriks dinamic than add, sub the matrik.
But using link list ?
Sorry my english's bad.
Thank's
This is a discussion on Please tell me how make add, sub matriks in c++ using link list ? within the C++ Programming forums, part of the General Programming Boards category; I have a problem. I want to make, 2 matriks dinamic than add, sub the matrik. But using link list ...
I have a problem. I want to make,
2 matriks dinamic than add, sub the matrik.
But using link list ?
Sorry my english's bad.
Thank's
No. Don't use a linked list for a matrix. Use a vector of vectors. Or I suppose if you want to write the whole works yourself, use a linked list of linked lists.Originally posted by putu-82
I have a problem. I want to make,
2 matriks dinamic than add, sub the matrik.
But using link list ?
Sorry my english's bad.
Thank's
Make one list hold a pointer to the head of another list.
Make the second list hold the data.
Quzah.
Hope is the first step on the road to disappointment.
You have the source code,
If you have the sorce code please tell me.
Thank ....
>If you have the sorce code please tell me.
I have the source code.![]()
My best code is written with the delete key.