StackOverflow Questions for Tag: char-pointer

Filip
Filip

Reputation: 5

Frist few bytes of a char* are corrupted after creating it with malloc()

Score: 0

Views: 45

Answers: 1

Read More
かわいそu
かわいそu

Reputation: 23

How does memory allocation work with char pointers(string literals, arrays)?

Score: 2

Views: 270

Answers: 2

Read More
David Callanan
David Callanan

Reputation: 5800

Is it safe to compare const char* with == in C/C++?

Score: 3

Views: 356

Answers: 2

Read More
Suki Sebastian
Suki Sebastian

Reputation: 3

ncurses displaying word at the center and make it into uppecase and lowercase

Score: 0

Views: 579

Answers: 1

Read More
asisas07
asisas07

Reputation: 91

How to know when a char* library function arg needs an array it can modify, not a char pointer

Score: 8

Views: 1286

Answers: 5

Read More
Simon
Simon

Reputation: 105

In plain C, could we implement generic functions using pointers to char instead of pointers to void?

Score: 0

Views: 122

Answers: 1

Read More
Suki Sebastian
Suki Sebastian

Reputation: 3

Making myfgets using char pointer as an input

Score: 0

Views: 66

Answers: 1

Read More
NeeRaX
NeeRaX

Reputation: 25

I get an error "Exception Thrown (challengeCodeAcademy.exe has triggered a breakpoint.)" whenever i run in debug mode

Score: 0

Views: 54

Answers: 1

Read More
Jonas Frey
Jonas Frey

Reputation: 97

setting a character via index on a malloc char pointer not working

Score: 0

Views: 103

Answers: 1

Read More
Deepak
Deepak

Reputation: 790

Storing a string in char pointer (using scanf)

Score: 0

Views: 1685

Answers: 2

Read More
user13101974
user13101974

Reputation:

When I write my own strchr function, there is a part in the return step that I don't understand

Score: 1

Views: 302

Answers: 1

Read More
yambo
yambo

Reputation: 1827

Store contents of text file in a char* array in C++

Score: 0

Views: 142

Answers: 0

Read More
Vishnu CS
Vishnu CS

Reputation: 853

C++ Convert the binary data read from a file to a char pointer

Score: 1

Views: 2257

Answers: 2

Read More
Engineer999
Engineer999

Reputation: 3955

How does a member initialization list work with char pointers?

Score: 0

Views: 239

Answers: 2

Read More
joseph taylor
joseph taylor

Reputation: 123

Value of const char* returns empty after construction

Score: 1

Views: 693

Answers: 1

Read More
Ulf Tietze
Ulf Tietze

Reputation: 57

C++ memcpy/strcpy of char pointer to class member char pointer

Score: 0

Views: 590

Answers: 1

Read More
johnbakers
johnbakers

Reputation: 24771

Why can compiler only implicitly convert char * to std::string in some cases

Score: 4

Views: 1629

Answers: 3

Read More
mediocrevegetable1
mediocrevegetable1

Reputation: 4217

Indexing an `unsigned long` variable and printing the result

Score: 32

Views: 1893

Answers: 2

Read More
Kacy Raye
Kacy Raye

Reputation: 1322

Why can't I assign an array variable directly to another array variable with the '=' operator?

Score: 5

Views: 7726

Answers: 5

Read More
user2681304
user2681304

Reputation: 129

Why *c++ increasing pointer value but not the ascii of first Char?

Score: 1

Views: 74

Answers: 2

Read More
PreviousPage 2Next