delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/28/18:15:28

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
NNTP-Posting-Date: 28 Aug 1998 22:05:23 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I've started my first steps with DJGPP and am trying to use the
Stringclasses:


#include <stdio.h>
#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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019