delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/22/18:39:53

From: gis AT informatik DOT tu-chemnitz DOT de (Sven G.)
Newsgroups: comp.os.msdos.djgpp
Subject: H: class String
Date: 21 May 1997 15:12:02 GMT
Organization: TU Chemnitz-Zwickau
Lines: 25
Message-ID: <5lv3c2$1ck$1@narses.hrz.tu-chemnitz.de>
NNTP-Posting-Host: george.csn.tu-chemnitz.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi there!

At first I'm new to C++ and maybe I did something wrong.

I programed under Linux and got it working. Now I tried to do it under DJGPP 
and have now a Problem with class String. Is there a class String in the lib's 
of DJGPP? At least I found a description of this class in the infofiles, but 
this was all (start -> libgpp -> String).

The compilermessages look something strange to me, because if there is 
String foo = "bar"  in the code, it doesn't tell me that String is undeclared, 
but   	parseerror before =
	warning: ANSI C++ forbids declaration 's' with no type or storage class
	warning: initialisation to 'int' from 'char' lacks a cast

{the string.h and String.h are the same files under DOS, because there is no 
casesensitivity, how do they underrate the 2 files?}

 
If possible please email me.


1000 tnx
  Sven

- Raw text -


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