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.
2.1m questions
2.1m answers
60 comments
57.0k users