I seem to get errors when trying to open an std::ifstream
if I use a relative path. Though it works fine if using an absolute path.
Is there something I need to add to the CMakeLists.txt? (I'm pretty new to using cmake) Or is it just a problem in CLion?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.