Dave's Brain

Browse - programming tips - avoid borland cstring

Title: Avoid Borland's cstring class
Keywords: cstring, Borland, C++
Date: 2007Feb23

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
in our article titled: borland_5_correction.txt

Add a comment

Sign in to add a comment
Copyright © 2008, dave - Code on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License.