由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - what's the difference between a .cpp file and a compilation unit?
相关主题
C++ memcpy declaration use restrict keyword?关于C++ STL编译的疑问
class D:public B;question for C++ constant
C arraya question about CAST
A C++ compiler related interview questionc++标准函数传递一问
A tech question (转载)C++ 的 问题
An interesting C++ compile error有谁知道怎么把matlab和VC联接着一起用? (转载)
谁来解释一下这个是compiler问题吗?Question about a C++ compilation error on Visual Studio 2005
关于Makefile的一个问题弱问mcc和mex的区别
相关话题的讨论汇总
话题: cpp话题: difference话题: unit话题: file
进入Programming版参与讨论
1 (共1页)
B*****t
发帖数: 335
1
Would anyone please tell me the difference?
Thanks.
X****r
发帖数: 3557
2
.cpp file is a OS concept.
Compilation unit is C++ concept.
In practice, the content of a C++ compilation unit usually comes from
one .cpp file and all files it includes recursively, in order.

【在 B*****t 的大作中提到】
: Would anyone please tell me the difference?
: Thanks.

B*****t
发帖数: 335
3
thanks a lot!

【在 X****r 的大作中提到】
: .cpp file is a OS concept.
: Compilation unit is C++ concept.
: In practice, the content of a C++ compilation unit usually comes from
: one .cpp file and all files it includes recursively, in order.

1 (共1页)
进入Programming版参与讨论
相关主题
弱问mcc和mex的区别A tech question (转载)
C++ optimization questionAn interesting C++ compile error
关于 gcc 和 g++ 的问题谁来解释一下这个是compiler问题吗?
在 windows下的C++开发平台是不是 Dev-C++?关于Makefile的一个问题
C++ memcpy declaration use restrict keyword?关于C++ STL编译的疑问
class D:public B;question for C++ constant
C arraya question about CAST
A C++ compiler related interview questionc++标准函数传递一问
相关话题的讨论汇总
话题: cpp话题: difference话题: unit话题: file