Xref: news-dnh.mv.net comp.os.msdos.djgpp:2966 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!tank.news.pipex.net!pipex!oleane!in2p3.fr!swidir.switch.ch!scsing.switch.ch!news.dfn.de!news.uni-bielefeld.de!news From: Andre Krause Subject: Re: Templates in DJGPP. Sender: news AT hermes DOT hrz DOT uni-bielefeld DOT de (News Administrator) Date: Sun, 29 Oct 1995 18:47:16 GMT References: <1995Oct27 DOT 092027 AT zipi DOT fi DOT upm DOT es> <10sNDD2w200w AT alcyone DOT darkside DOT com> Nntp-Posting-Host: dozy.hrz.uni-bielefeld.de Organization: Universitaet Bielefeld, Rechenzentrum Lines: 24 To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Another Method wich works also for Borland Compilers is the following: You append at the very end in the "certain module" a function similiar to this: void __foo() { CLASSNAME a1; // for example VEKTOR2D a2; VEKTOR2D a3; } this will work with most compilers while the method template VEKTOR2D; works only for gpp. bye, Andre -- ******************************** Andre Krause akrause AT techfak DOT uni-bielefeld DOT de ********************************