delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/15/16:19:04

Newsgroups: comp.os.msdos.djgpp
From: Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
Subject: Re: gnu string class
Message-ID: <Pine.SGI.3.91.970915100556.13720A-100000@atmosp.physics.utoronto.ca>
Nntp-Posting-Host: chinook.physics.utoronto.ca
Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator)
Mime-Version: 1.0
Organization: University of Toronto - Dept. of Physics
In-Reply-To: <Pine.SGI.3.91.970912210244.12819A@neutrino.phys.laurentian.ca>
Date: Mon, 15 Sep 1997 14:10:23 GMT
References: <Pine DOT SGI DOT 3 DOT 91 DOT 970912210244 DOT 12819A AT neutrino DOT phys DOT laurentian DOT ca>
Lines: 20
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sat, 13 Sep 1997, Timothy Robb wrote:

> I'm writting a C++ assigment for my data structures course and am using 
> the GNU string class in it.  My question is what do I need to put on the 
> disk I had in such that the marker can properly compile my program?

GNU's string class is declared in String.h, but the body of many of the 
functions is in libgpp.a.  Unless your marker has gcc available, it's 
unlikely that (s)he will be able to link in the gcc library, even if you 
give it to him/her.

If you can do without the nifty Regexp features of the String class, 
you're probably better off using the new std C++ string class.  Not only 
can you then compile it on any up to date C++ compiler, it's also better 
to learn the std than a proprietary class structure.

---------------
Peter Berdeklis
Dept. of Physics, Univ. of Toronto

- Raw text -


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