Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: C++
Expertise: Beginner
Jan 8, 1999

How standard is the string class ?

Question:
We may want to use the C++ string class if it is specified as part of some open standard and is not just provided by the g++ compiler. Is the string class part of some standard, and can I except to see it with other compilers? Is it portable ?

Answer:
I'm afraid I haven't worked with the g++ compiler, and the answer is entirely dependent on exactly what you mean by "the C++ string class." The STL, or standard template library, includes a string class that is pretty much standard. Other classes, such as Microsoft Foundation Classes' CString class, are not.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date