StackOverflow Questions for Tag: c-str

How to illustrate the dynamic system output for a PID controller system?

Score: 0

Views: 48

Answers: 0

Read More

How to properly iterate functions/equations

Score: 0

Views: 60

Answers: 0

Read More
SaltyCode
SaltyCode

Reputation: 107

Compiler error message "error: could not convert from 'std::string* {aka std::basic_string<char>*}' to 'std::string {aka std::basic_string<char>}'|"

Score: -1

Views: 14769

Answers: 2

Read More
Evan Carroll
Evan Carroll

Reputation: 1

How do I read from a heap of C strings with FFI?

Score: -1

Views: 165

Answers: 1

Read More
Anil
Anil

Reputation: 109

Using String c_str() to return char*

Score: 1

Views: 1319

Answers: 2

Read More
Amit Singh Tomar
Amit Singh Tomar

Reputation: 8610

What is the use of the c_str() function?

Score: 98

Views: 255583

Answers: 7

Read More
ereOn
ereOn

Reputation: 55736

What is the lifetime of the result of std::string::c_str()?

Score: 120

Views: 36346

Answers: 7

Read More
ChandanaHK
ChandanaHK

Reputation: 3

Why doesn't string class take in two words separated with space?

Score: 0

Views: 40

Answers: 1

Read More
user3443063
user3443063

Reputation: 1615

Use of c_str() for wstrings in c++

Score: 1

Views: 469

Answers: 0

Read More
Alexander Minor
Alexander Minor

Reputation: 31

Accidentally linking c_str() strings

Score: 0

Views: 111

Answers: 1

Read More
leon
leon

Reputation:

string c_str() vs. data()

Score: 152

Views: 72852

Answers: 6

Read More
Tyler Weiss
Tyler Weiss

Reputation: 169

Unexpected behavior when converting a character array to a string

Score: 1

Views: 463

Answers: 1

Read More
akoluacik
akoluacik

Reputation: 43

Implementing string to int function in c

Score: 0

Views: 93

Answers: 0

Read More
tom
tom

Reputation: 413

Curious behaviour of c_str() and strings when passed to class

Score: 0

Views: 982

Answers: 3

Read More
Joss
Joss

Reputation: 67

Getting char * or const char * data from a string breaks for 16 character strings or longer

Score: 0

Views: 1041

Answers: 3

Read More
Edgar Hernandez
Edgar Hernandez

Reputation: 41

c_str() is terminating my encrypted message is there a way to bypass this?

Score: 0

Views: 162

Answers: 2

Read More
anastaciu
anastaciu

Reputation: 23802

Is it safe to use std::string::c_str() to modify the underlying std::string?

Score: 3

Views: 2481

Answers: 1

Read More
tam63
tam63

Reputation: 313

single vs double quotes C++ - interesting, unexpected behaviour

Score: 0

Views: 46

Answers: 0

Read More
theebugger
theebugger

Reputation: 87

Is there a dangling pointer problem in this code?

Score: -1

Views: 342

Answers: 3

Read More
katsurice
katsurice

Reputation: 1

Why is c_str() not reading the appended string?

Score: 0

Views: 85

Answers: 0

Read More
PreviousPage 1Next