Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D dceps-new
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DCEPS
  • dceps-new
  • Wiki
  • Differences: .h, .hpp, and .ipp

Differences: .h, .hpp, and .ipp · Changes

Page history
Create Differences: .h, .hpp, and .ipp authored Oct 05, 2023 by Tarik Moussa's avatar Tarik Moussa
Hide whitespace changes
Inline Side-by-side
Differences:-.h,-.hpp,-and-.ipp.md 0 → 100644
View page @ 5fe4bc24
## .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
Clone repository
  • Differences: .h, .hpp, and .ipp