Dave's Brain

Browse - Programming Tips - What string class should I used in Borland C++

Date: 2007Feb23
Keywords: cstring, C++
Product: Borland C++ 5.x
Language: C++


Q.  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:

#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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.