From: daphire AT aol DOT com (Da Phire) Newsgroups: comp.os.msdos.djgpp Subject: String Object Linking Errors Lines: 13 NNTP-Posting-Host: ladder07.news.aol.com X-Admin: news AT aol DOT com Date: 15 Jan 2000 04:37:05 GMT Organization: AOL http://www.aol.com Message-ID: <20000114233705.01274.00000555@ng-fx1.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have written a program in C++ that uses the header (no, not , just ). When I compile it, I get all sorts of linking errors like this one: rpg.cc:86: undefined reference to 'basic_string>::basic_string(void) I understand this to mean that the basic_string class is prototyped in , but the actual source code for the member functions is somewhere else - a library, perhaps? I don't know how to access it though. Can anyone help? Note: I also tried using <_string.h> instead, and I got compile errors saying that the member functions c_str() and data() didn't exist. Yet the functions (that require a char*) wouldn't accept just the string itself.