Add folders in a visual c++ project

前端 未结 2 1543
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-21 04:21

How can I add whole folder and its subdirectories in a visual c++ project? I am using visual studio 2010 professional. I mean you can add files by using Add Existing I

2条回答
  •  轮回少年
    2020-12-21 04:27

    Ask more precisely, what you want to do? if you want to open a file within that folder you can use:

    FILE *p;
    p=fopen(FILEPATH,OPENINGMODE);
    fclose(p);
    

提交回复
热议问题