How do I resolve a relative path to an absolute path in C?

后端 未结 2 734
自闭症患者
自闭症患者 2020-12-11 05:15

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?

2条回答
提交回复
热议问题