我一直在头文件的开头看到这样的代码:
#ifndef HEADERFILE_H #define HEADERFILE_H
并在文件的最后是
#endif
这样做的目的是什么?
c c++ c-preprocessor
c ×1
c++ ×1
c-preprocessor ×1