<HTML><BODY>
<DIV>Hello Chunyan,</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>HTH,</DIV>
<DIV>Fucang<BR></DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original
Message-----<BR>From: Chunyan Jiang <chunyan.jiang@gmail.com><BR>To:
insight-users@itk.org<BR>Date: Tue, 3 Jan 2006 14:22:06 +0100<BR>Subject:
[Insight-users] Difference between .cxx and .cpp, .txx and .h<BR><BR>Hi,
all,<BR>I want to know that what is the difference between file .cxx and
.cpp, and same question to file .txx and .h?<BR><BR>I found many examples in
itk use these extensions.<BR><BR>Could some one explain me?<BR><BR>Thanks a
lot!<BR><BR>Chunyan<BR></BLOCKQUOTE>
</BODY></HTML>