|
|
|
|
|
|
|
|
## .h:
|
|
|
Traditional extension for C header files.
|
|
|
Used in both C and C++ projects.
|
|
|
Often used for headers intended to be shared between C and C++ in mixed projects.
|
|
|
|
|
|
## .hpp:
|
|
|
Stands for "Header Plus Plus."
|
|
|
Specifically for C++ header files.
|
|
|
Helps distinguish C++ headers from C headers in mixed projects.
|
|
|
|
|
|
## .ipp:
|
|
|
Stands for "Implementation Plus Plus."
|
|
|
Often associated with C++ template class and function definitions.
|
|
|
Keeps template implementations separate but included in the corresponding .hpp file for compile-time availability.
|
|
|
|
|
|
In essence, these are conventions and technically interchangeable, but they help in organizing and understanding the code. |
|
|
\ No newline at end of file |