Relative paths in C++ project


I’m working in a C++ class that reads a .txt file. When I open the file using absolute routes everything goes good, but I have had problems with the relative paths. What is the best way to reference files with relative paths? Which is the execution path of a project compiled in DebugGame_Editor mode? the path of the engine?

Thank you!