delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/24/07:45:18

From: Michael Schuster <schuster AT eev DOT e-technik DOT uni-erlangen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Can someone compile this?
Date: Tue, 24 Nov 1998 12:32:38 GMT
Organization: Regionales Rechenzentrum Erlangen, Germany
Lines: 36
Message-ID: <19981124.12323889@eev6.eev>
References: <73cifb$gqm$1 AT clam DOT niwa DOT cri DOT nz>
NNTP-Posting-Host: eev6.e-technik.uni-erlangen.de
Mime-Version: 1.0
X-Priority: 3 (Normal)
X-Newsreader: Mozilla/3.0 (compatible; StarOffice/4.0; WinNT/Win95)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAB08954
Reply-To: djgpp AT delorie DOT com

Hi everyone!

I'm desperately searching for a bug in my new 2.8.1 djgpp 
installation, but cannot find it. 

The problem I face is the damn old String class problem which I posted 
already 2 times.
As I want to know, if I do something wrong, I ask you if someone with 
a 2.8.1  can compile the following little c++ code (which I cnly can 
compile with my 2.7.xx djgpp?

#include <iostream.h>
#include <string.h>
#include <_String.h>

String xc="test2";
char d[25]="dummy";

int main()
{
   xc=d;
   strcpy(d,xc);
   cout<<d;
}

Thanks for your support

Gruesse
Michi




- Raw text -


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