• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

How to add strange character to a string?

How to add " to a string without using content.push_back('"'); ?
0
m-jansen
Asked:
m-jansen
1 Solution
 
jkrCommented:
string str = "test";

str += "\"";
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now