How to open a text file that's not in the same folder?

前端 未结 3 485
故里飘歌
故里飘歌 2021-01-26 05:28

Since C it\'s not a language I am used to program with, I don\'t know how to do this.

I have a project folder where I have all the .c and .h files and a conf folder unde

3条回答
  •  别那么骄傲
    2021-01-26 06:26

    You're probably going to want to look into the dirent family of routines for directory traversal.

提交回复
热议问题