This is the extension given under different standards now refers to C++源文件的后缀名问题- petercao
Unix: c, cc, cxx, c
GNU C++: c, cc, cxx, cpp, c++
Digital Mars: cpp, cxx
Borland C++: cpp
Watcom: cpp
Microsoft Visual C++: cpp, cxx, cc
Metrowerks CodeWarrior: cpp, cp, cc, cxx, c++
Can we consider to add some of them to the glob patten like .cc or .cxx
Class | 类型
函数插件
Feature Request | 功能请求
Although in general, the suffix names of C/C++files are as follows, sometimes the suffixes of some projects can be very complex
https://github.com/binary-husky/gpt_academic/blob/51ddb88ceb3c94225e8dbd64cb5b3ea4b230ccf1/crazy_functions/%E8%A7%A3%E6%9E%90%E9%A1%B9%E7%9B%AE%E6%BA%90%E4%BB%A3%E7%A0%81.py#L192-L195
This is the extension given under different standards now refers to C++源文件的后缀名问题- petercao
Unix: c, cc, cxx, c GNU C++: c, cc, cxx, cpp, c++ Digital Mars: cpp, cxx Borland C++: cpp Watcom: cpp Microsoft Visual C++: cpp, cxx, cc Metrowerks CodeWarrior: cpp, cp, cc, cxx, c++
Can we consider to add some of them to the glob patten like
.cc
or.cxx