\documentclass{article} 
\usepackage{texcad32}

\begin{document}

Some text

\tcinput{ex1}

Some other text
\end{document} 
