[Insight-users] Difference between .cxx and .cpp, .txx and .h

Chunyan Jiang chunyan.jiang at gmail.com
Tue Jan 3 09:02:26 EST 2006


Hi Fucang,
Thank you for your explanation. Now it is clear to me.

Best,
Chunyan

On 1/3/06, jiafucang <jiafucang at asisz.com> wrote:
>
> Hello Chunyan,
>
> cxx and cpp files do not have difference, they both are C++ implementation
> files. It is very common that Visual C++ use cpp often, while some Unix
> programs like cxx often. Txx files is the template files, which could not be
> compiled directly, and have to be instantized. For example, the libraries in
> the ITK is very small because most of them are templates. The .h files are
> header files, such as the class definition. And the implementation will be
> placed in .cxx or .cpp files in common.
>
> HTH,
> Fucang
>
> -----Original Message-----
> From: Chunyan Jiang <chunyan.jiang at gmail.com>
> To: insight-users at itk.org
> Date: Tue, 3 Jan 2006 14:22:06 +0100
> Subject: [Insight-users] Difference between .cxx and .cpp, .txx and .h
>
> Hi, all,
> I want to know that what is the difference between file .cxx and .cpp, and
> same question to file .txx and .h?
>
> I found many examples in itk use these extensions.
>
> Could some one explain me?
>
> Thanks a lot!
>
> Chunyan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060103/ab80fd7d/attachment.htm


More information about the Insight-users mailing list