🛠️ Steven Gong

Search

SearchSearch
  • Translation Unit
  • Related

Feb 24, 2025, 1 min read

Translation Unit

In C and C++ programming language terminology, a translation unit (or more casually a compilation unit) is the ultimate input to a C or C++ compiler from which an object file is generated.

Resources

  • https://stackoverflow.com/questions/1106149/what-is-a-translation-unit-in-c

What it boils down to

A translation unit is for all intents and purposes a file (.c/.cpp), after it’s finished including all of the header files.

Related

  • static

Graph View

Backlinks

  • One Definition Rule (ODR)
  • static keyword

Created with Quartz, © 2025

  • Blog
  • LinkedIn
  • Twitter
  • GitHub