Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c-strings

Why doesn't a pointer to an element in a c-string return just the element?

c++ string pointers c-strings

Can std::string::c_str() be used whenever a string literal is expected?

Correctly pass a char array and char pointer to function by reference in C

c arrays pointers c-strings

How to add two strings?

Post increment with pointers in while loop in C

c c-strings

Is it mandatory to give '\0' for initialization of character arrays?

arrays c c-strings

Use of pointers on strings

c c-strings char-pointer

Strange std::cout behaviour with const char*

Allocate room for null terminating character when copying strings in C?

c++ c-strings

How to perform calculation in preprocessor with stringification in C [duplicate]

How to initialize an unsigned char array from a string literal?

c++ c-strings

Reading a file from stdin

c file stdin c-strings

Portablilty of using percison when printf-ing non 0 terminated strings

c printf posix c-strings

How to identify the type of const char* and const char[] in code?

c++ arrays c-strings

Clean way to read a null-terminated (C-style) string from a file?

How can I compare C- string with C++ string?

c++ string c-strings

Why use c strings in c++?

c++ c stl string c-strings

What is the reason for not being able to deduce array size from initializer-string in member variable?

If char*s are read only, why can I overwrite them?

strncpy or strlcpy in my case

c copy c-strings strncpy