Search code examples
Why does std::strlen() work on char arrays WITHOUT terminating null characters? Is this a compiler o...


c++c-stringsstrlenarray-initialization

Read More
Concatenate Strings in C - `strcpy(s1 += strlen(s1), s2)`...


cpointersc-strings

Read More
When printf a string we are not using *. Why?...


cstringprintfc-stringsconversion-specifier

Read More
Is it Safe to strncpy Into a string That Doesn't Have Room for the Null Terminator?...


c++stringc-stringsstrncpynull-terminated

Read More
Printing strings and concept of null character in C...


carraysstringinitializationc-strings

Read More
How to copy single chars from an array of strings to another string in "C"...


cc-strings

Read More
How does printf know the end of the tokens of strtok while printing them out?...


cprintfc-stringsstrtok

Read More
strcat not affecting global string...


cc-stringsstrcat

Read More
Can stringEncodingForData:encodingOptions:convertedString:usedLossyConversion: return NSUTF16StringE...


objective-cnsdatac-stringsnsstringencoding

Read More
Is there a function/WinAPI to tell if one string starts with another string in a case-insensitive li...


c++winapic-stringscrtlinguistics

Read More
fgets() / gets() problem while taking input for N strings. Not taking input at initial position...


cmultidimensional-arrayfgetsc-stringsgets

Read More
Problem with an array of strings and a function in C...


carraysfunctionc-strings

Read More
CString results in ? when trying to assign _variant_t.bstrVal which contains russian chars...


c++mfcc-strings

Read More
Remove a Space from a Specific case in a string...


ctrimc-strings

Read More
Dynamically allocated C-style string has more characters than given length?...


c++arraysfilec-strings

Read More
How to overwrite part of a string in C?...


cc-strings

Read More
Why do all C++ array elements get set despite addressing just one item?...


c++arrayscharc-strings

Read More
expected output and the practical output not matching, please explain the logic behind the code...


carraysstringpointersc-strings

Read More
Can I initialize an empty 2D C string like this?...


carraysstringc-strings

Read More
Pig latin conversion using Cstrings...


c++c-strings

Read More
How to copy values for the char **a - C...


carrayscopyc-strings

Read More
__int64 to CString returns wrong values - C++ MFC...


c++mfcprintfc-stringsint64

Read More
MFC CString Constructor action...


c++mfcc-strings

Read More
Why Doesn't string::data() Provide a Mutable char*?...


c++stringc++11containersc-strings

Read More
Importing cstring fails: include <cstring> error...


c++c-strings

Read More
Does the cin function add null terminated at the end of input?...


c++user-inputc-strings

Read More
Vigenere cipher decoding not working properly...


cc-stringsvigenere

Read More
allocate memory to 2d character array on the fly...


cmallocc-strings

Read More
How to correctly convert unsigned char to CString and once again, reversely convert to the result of...


c++c-strings

Read More
Reverse a string using Cstrings in C++...


c++for-loopc-strings

Read More
BackNext