Is it possible to organize c++ header and cpp files?

后端 未结 2 1249
星月不相逢
星月不相逢 2020-12-31 07:07

I\'m not sure if i\'m asking a valid question, but here goes.

I have c++ solution with a structure of

[folder] Header files -

... 200 header files ..

2条回答
  •  Happy的楠姐
    2020-12-31 07:56

    I don't know of a standard but you can put headers (and source) files in any folder structure you like.

    You need to ensure that either the include files are referenced by relative path or add the folder to the projects search path.

提交回复
热议问题