This should be simple: I'm composing an absolute path with boost filesystem, however it's returning a really ugly path:
D:/Projects/SomeDir/vc10/../resource/plugins/SomeFile.dll
Is there a boost way of automatically handling .'s and ..'s?
All I'm doing is:
boost::filesystem::complete("../resource/plugins/SomeFile.dll")
it's using boost::filesystem2.
boost::filesystem::complete("../resource/plugins/SomeFile.dll").normalize()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With