C Programming – Resolving Relative Path to Absolute Path

c++filepathwindows

I have a C console app where I need to output the absolute path to a file given a (possibly) relative path. What is the best way to do this in C in a Windows environment?

Best Answer

I think you are looking for _fullpath().

Related Question