#include <string>to get the std::string class. Before you use std::string be sure make the fixes we list here: http://www.davekb.com/search.php?target=borland+5+correction
Programming Tips - Borland C++: What string class should I used in Borland C++
Date: 2007Feb23
Keywords: obsolete, cstring, C++
Product: Borland C++ 5.x
Language: C++
Q. Borland C++: What string class should I used in Borland C++
A.
Borland C++ 5.02 has a string class in c:\bc5\include\cstring.h
You might be tempted to use it. Don't. This is a non-standard string class.
It will confuse anyone else trying to read your code use: