如何解决在C的绝对路径相对路径?

如何解决在C的绝对路径相对路径?

问题描述:

我有一个C控制台应用程序,我需要输出的绝对路径给出一个(可能)的相对路径的文件。什么是在Windows环境做这在C的最佳方式?

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?

我认为你正在寻找的 _ FULLPATH()