Unlike the other videos, this was not compiled... and some errors are arising when trying to run a simple test. I already made the C version working, but this C++ version still needs adjustments
Yes, the library has changed quite a bit since I've made this video and the new code is available here: github.com/ericomeehan/libeom/blob/main/DataStructures/Lists/Queue.h Note that the library is now written in C. It should be compatible with C++, but I haven't tested that. Feel free to open a thread somewhere on my TH-cam, Discord, or GitHub regarding porting the library to C++.
@@eom-dev The link you provided is for the C version. I have followed those, and they work ok. The issue is with this C++ version, specifically getting errors with the template usage. That's why I mention, the code in this video was never compiled or tested, unlike the other chapters. No rant or anything, just saying, maybe you can have a look.
@@javierreyesg Yes, what I mean to say is that this version has been, if I may be so grandiose, deprecated in favor of the one provided in C. Largely due to the mistakes you mention. There is a video on my channel on the Queue written in C - I recommend checking that one out for more thoroughly tested code. It should be easy to find from the channel page (look for the Data Structures playlist with the purple thumbnail).
Unlike the other videos, this was not compiled... and some errors are arising when trying to run a simple test. I already made the C version working, but this C++ version still needs adjustments
Yes, the library has changed quite a bit since I've made this video and the new code is available here:
github.com/ericomeehan/libeom/blob/main/DataStructures/Lists/Queue.h
Note that the library is now written in C. It should be compatible with C++, but I haven't tested that. Feel free to open a thread somewhere on my TH-cam, Discord, or GitHub regarding porting the library to C++.
@@eom-dev The link you provided is for the C version. I have followed those, and they work ok. The issue is with this C++ version, specifically getting errors with the template usage. That's why I mention, the code in this video was never compiled or tested, unlike the other chapters. No rant or anything, just saying, maybe you can have a look.
@@javierreyesg Yes, what I mean to say is that this version has been, if I may be so grandiose, deprecated in favor of the one provided in C. Largely due to the mistakes you mention. There is a video on my channel on the Queue written in C - I recommend checking that one out for more thoroughly tested code. It should be easy to find from the channel page (look for the Data Structures playlist with the purple thumbnail).