Me still learning C++ and traversing a file path string and adding each subdirectory to a vector so I can pop them off later and move back up to the root one dir at a time.
I am still figuring out why it's crashing. Been two days. I think half my code is just print statements now, all saying "here", "here now", "now running blahblah()"
This shit can make you feel so stupid sometimes. Because this has been a solved problem for half a century. Coding is definitely an exercise in tolerance for failure and frustration.