StackOverflow Questions for Tag: c-strings

asimes
asimes

Reputation: 6080

Are the literals "" (empty string) and "\0" (null string) identical?

Score: 12

Views: 1060

Answers: 3

Read More
and his dog
and his dog

Reputation: 158

How to reduce memory used by an array buffer?

Score: -1

Views: 119

Answers: 1

Read More
Tyler Durden
Tyler Durden

Reputation: 11562

If I am using UTF-8 strings is it risky to use standard string handling that assumes null termination?

Score: 3

Views: 110

Answers: 2

Read More
barak manos
barak manos

Reputation: 30146

Does the preprocessor prepare a list of unique constant strings before the compiler goes into action?

Score: 0

Views: 82

Answers: 4

Read More
praet
praet

Reputation: 111

Confusing behavior of C++ string returns and c_str() casts

Score: 0

Views: 237

Answers: 2

Read More
satyam jha
satyam jha

Reputation: 23

Remove extra space in string in C without using any predefined functions

Score: 0

Views: 695

Answers: 3

Read More
Chris
Chris

Reputation: 1437

How to convert cString into String in Swift6?

Score: 1

Views: 55

Answers: 1

Read More
user1497350
user1497350

Reputation: 31

Change pointer adress inside function in C

Score: 3

Views: 162

Answers: 4

Read More
Jordan
Jordan

Reputation: 2140

C - split string into an array of strings

Score: 40

Views: 116741

Answers: 2

Read More
user22869055
user22869055

Reputation: 33

How to count only a period in C?

Score: 0

Views: 340

Answers: 3

Read More
Yuki
Yuki

Reputation: 93

Line extraction in a char

Score: 1

Views: 62

Answers: 2

Read More
Elliott T
Elliott T

Reputation: 13

How to debug this substring matching code?

Score: 1

Views: 99

Answers: 2

Read More
anshah
anshah

Reputation: 117

CString formatting from hexadecimal array causing segmentation fault on Raspberry Pi

Score: 0

Views: 6

Answers: 0

Read More
BigBadWolf
BigBadWolf

Reputation: 603

Usage of strtol on std::string

Score: 4

Views: 6231

Answers: 6

Read More
Scott
Scott

Reputation: 10707

join() or implode() in C

Score: 8

Views: 16859

Answers: 3

Read More
Marie B.
Marie B.

Reputation: 11

c++ manual concatenation of c-strings function that is called twice and adds a space

Score: 1

Views: 86

Answers: 3

Read More
Xlea
Xlea

Reputation: 526

Difference between strlen(str.c_str()) and str.length() for std::string

Score: 11

Views: 20211

Answers: 3

Read More
Astor
Astor

Reputation: 3

During the second call of strtok(), the code raises the following error: Invalid read of size 1

Score: 0

Views: 52

Answers: 1

Read More
Tim
Tim

Reputation: 4365

Is it possible to print out only a certain section of a C-string, without making a separate substring?

Score: 94

Views: 110437

Answers: 4

Read More
Alvaro Higino
Alvaro Higino

Reputation: 11

Why does my recursive strlen function return value 4 times bigger?

Score: 0

Views: 69

Answers: 2

Read More
PreviousPage 1Next