本文发表在 rolia.net 枫下论坛I've backed my words by demonstrating my code and solving your problem : a tree which supoprts degree 4. That's enough. If you don't get it, that's your problem.
"the node of tree has a pointer to its parent"? And you asked " I guess you must have good time make it happen. "? Dude, you are funny. Yes, it must take the rest of my whole life to add one line code! LOL!!!
And "move the node from memory to harddrive"?
Regardless the details, say file I/O, or in fancy terms, serializing,
What do you want to prove?
Do you really understand what generic programming is for? It's not magic, it 's not for everything, can you find me where I've said anything remotely close to that please?
All I've been saying is that C++ template enables you to write one generic code for any given algorithm/data structure, regardless the type of elements in containers.
Whether you get my point or not, I'll have to end the discussion with you.
It has been pleasant talking to you. :-)更多精彩文章及讨论,请光临枫下论坛 rolia.net
"the node of tree has a pointer to its parent"? And you asked " I guess you must have good time make it happen. "? Dude, you are funny. Yes, it must take the rest of my whole life to add one line code! LOL!!!
And "move the node from memory to harddrive"?
Regardless the details, say file I/O, or in fancy terms, serializing,
What do you want to prove?
Do you really understand what generic programming is for? It's not magic, it 's not for everything, can you find me where I've said anything remotely close to that please?
All I've been saying is that C++ template enables you to write one generic code for any given algorithm/data structure, regardless the type of elements in containers.
Whether you get my point or not, I'll have to end the discussion with you.
It has been pleasant talking to you. :-)更多精彩文章及讨论,请光临枫下论坛 rolia.net