Dave's Brain

Browse - programming tips - avoid borland cstring

Date: 2007Feb23
Keywords: cstring, Borland, C++
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
in our article titled:
http://www.davekb.com/browse_programming_tips:borland_5_correction.txt
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2010, 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.