From: nospam AT 127 DOT 0 DOT 0 DOT 1 (Xenon) Newsgroups: comp.os.msdos.djgpp Subject: Undefined reference... Date: Fri, 28 Aug 1998 22:05:16 GMT Organization: PIRONET News-System Lines: 25 Message-ID: <35e828da.3904793@news.piro.net> Reply-To: nonex AT hotmail DOT com NNTP-Posting-Host: news.piro.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 28 Aug 1998 22:05:23 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello, I've started my first steps with DJGPP and am trying to use the Stringclasses: #include #include <_String.h> void main(void) { String test(" Teststring "); printf("|%s|\n",test); } How can I get this to compile ? I've tried it on Linux and it compiles fine with G++. Any ideas on how to realize this under DJGPP ? In the docs it says the String.h will be _String.h - but other than that I can't find any help - I've been looking through other sources but I couldn't find any that uses the String- classes. Xenon