delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/22/23:46:42

From: Ahn Ki-yung <KYAGRD AT mail DOT hitel DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: string class doesn't work with STL containers
Date: Mon, 23 Mar 1998 13:35:24 +0900
Organization: Korea Telecom
Lines: 23
Message-ID: <3515E68A.271CBDD3@mail.hitel.net>
Reply-To: 96046 AT sc DOT seoul-shs DOT seoul DOT kr
NNTP-Posting-Host: dor20326.kaist.ac.kr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

 I'm using DJGPP with RHIDE(1.4b) under WINDOWS95.
Recently I deleted version 2.7.2 and I've installed gcc280b.zip,
gpp280bzip, lgpp280b.zip. I'm studying STL and the ANSI/ISO C++ Draft
Standard.
 Almost of it works well. But the "string" class does not work well.
Here is a code that compiler does not compile
> // stlstydy.cc
> #include <iostream>
> #include <map>
> #include <string>
>
> void main ()
> {
>  map< string , int > phone_list;
> }

When I compile it, there comes a messege in a message window in RHIDE.
> Compiling stlstudy.cc
> c:/djgpp/lang/cxx/stl_tree.h<486> Error: virtual memory exhausted
> there were some errors

Why isn't this working?  please help me!

- Raw text -


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