delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/28/14:52:57

Message-Id: <m0xmOjV-0004nrC@fwd05.btx.dtag.de>
Date: Sun, 28 Dec 1997 20:50:45 +0100
To: djgpp AT delorie DOT com
Subject: "string" in GnuC++ ???
MIME-Version: 1.0
From: Stritt AT t-online DOT de (Stritt)

Hello!

as the definition C++ says, i can use the type "string", after binding the includefile
"<list.h>".

In other compiler this causes no problems, but GNUc++ V2 simply doesn't accept the word
"string"...


so if i have a little program like:


#include <stdio.h>
#include <list.h>

main()
{
string TEST="Hello World";

[...]

}

the colpiler holds at "string" and says that he doesn't know this word :-((



anyone who can help me with it? -thanX... :-)

ciao,
mr rooTS








- Raw text -


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