wood burning stoves 2.0*
The moose likes C / C++ and the fly likes Differences between std::string and String Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "Differences between std::string and String" Watch "Differences between std::string and String" New topic

Differences between std::string and String

Pavan Kumar Dittakavi
Ranch Hand

Joined: Feb 12, 2011
Posts: 104

Hi Experts,

What is the difference between std::string and String?

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

std::string is the string class from the standard C++ library. String is some other string class from some other library. It's hard to say from which library, because there are many different libraries that have their own class called String.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Consider Paul's rocket mass heater.
subject: Differences between std::string and String
Similar Threads
Polymorphism and "this" keyword, an interesting Q..
C++ Concurrency Debugging techniques
Include directive and include std action
Visual Studio 2010 EXE + 2005 DLL