• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Differences between std::string and String

 
Pavan Kumar Dittakavi
Ranch Hand
Posts: 106
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

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

Thanks,
Pavan.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15495
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic