3 ms·
They can also be implemented by not using pointer spaghetti ;) Even in C++ I generally prefer to use handles over pointers for cases like that because graphs a
by connicpu 7y ago
They can also be implemented by not using pointer spaghetti ;)
Even in C++ I generally prefer to use handles over pointers for cases like that because graphs are just plain hard to get right, and if you use handles you can get a nice error message when something goes wrong instead of a segfault.