What's the difference between source file and translation unit?
From the C++ Standard:
A source file together with all the headers and source files included via the preprocessing directive #include less any source line skipped by any of the conditional inclusion preprocessing directives is called a translation unit.
548k questions
547k answers
4 comments
86.3k users