C++ header files with no extension

前端 未结 3 1783
广开言路
广开言路 2021-02-11 09:23

I am using an open source project (Open Scene Graph). I found that all the header file names are in File format, which I found to be File With No Extension

3条回答
  •  长发绾君心
    2021-02-11 09:55

    I mailed to one of the developer (Robert Osfield) of OpenSceneGraph. Here is his answer.

    The OSG adopted the same header convention as the standard C++ headers. We have added a --C++-- string to the headers so that editors can use this to determine the type.

提交回复
热议问题