From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: Templates Date: Sat, 30 Dec 2000 00:43:47 +0000 Organization: Customer of Energis Squared Lines: 12 Message-ID: References: NNTP-Posting-Host: modem-144.beryllium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg3.svr.pol.co.uk 978137044 12293 62.136.3.144 (30 Dec 2000 00:44:04 GMT) NNTP-Posting-Date: 30 Dec 2000 00:44:04 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "WantToKnowPlease" wrote: > Happy holidays to everyone....... > when I wrote this simple test line > array arr(10); > The compiler told that the class (array) has no constructor and has no > destructor > I think they both exist, so what is wrong here? You have split the class declaration and implimentation as if for a normal class. For a template class everything goes in the header file array.h, there should be no array.cpp file.