[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OFFTOPIC: How to use strings with libstdc++?

On Tue, Dec 29, 1998 at 20:21:43 +0100, Wojciech Zabolotny wrote:
> I've stated that there is no old good String class in libstdc++.

"String" was a GNU extension; if you have code that still uses it, install
the libg++ packages.

> Instead I've found the "string" header which defines the "string" class.
> Is it OK to use it in new C++ programs,

Yes. It's specified in the ISO C++ standard.

> or it is added only for compatibility? Why has it such nonstandard name
> (without ".h" suffix).

The ".h" suffix on a number of include files was dropped during the
standardisation process.

POPULATION EXPLOSION  Unique in human experience, an event which happened 
yesterday but which everyone swears won't happen until tomorrow.  
- The Hipcrime Vocab by Chad C. Mulligan 

Reply to: