Search code examples
Why does the following code not work as intended...


csubstringc-strings

Read More
string copy() function return misunderstood? (C)...


cpointersc-stringsstrcpyfunction-definition

Read More
Why the code is not giving the expected output here?...


cfor-loopwhile-loopprintfc-strings

Read More
Getting an integer from a string...


cwhile-loopscanfc-stringsconversion-specifier

Read More
Is it undefined behavior what strncmp(s1, s2, 0) returns (i.e. the last argument is zero)?...


clanguage-lawyerc-stringsstrncmp

Read More
Print char pointer array in a struct with printf in c...


arrayscpointersprintfc-strings

Read More
What does ranges::starts_with do with C-style string argument(s)?...


c++stringsubstringc-stringsrange-v3

Read More
remove some character of a string in C...


arrayscc-strings

Read More
C Program returns unexpected output...


cloopssubstringc-stringsfunction-definition

Read More
Extra characters appearing when pthread_create is called with a struct as an argument to the thread...


cmallocpthreadsc-stringsstrlen

Read More
My program can't print a single-character string...


cprintfc-stringsconversion-specifier

Read More
sizeof('\0') null terminator as literal is four bytes but how come in string of characters i...


cmallocc-stringssizeofnull-terminated

Read More
C the output is wrong...


cnewlinereversec-stringsfgets

Read More
Why does memset fail and calloc succeed?...


arrayscdynamic-memory-allocationc-stringscalloc

Read More
Problem while taking multiple inputs in C...


cscanfc-stringsconversion-specifier

Read More
Can this JSON be turned into a std::map?...


jsonvisual-c++mfcc-stringsstdmap

Read More
Problem With Outputting and/or Terminating A String...


cc-strings

Read More
Stack smashing detected (Aborted Core Dump)...


cpointersc-strings

Read More
Printing a string in reverse with recursion...


cpointersrecursionc-stringsfunction-definition

Read More
Count how many and what letters contains text...


c++countcharc-stringsisalpha

Read More
converting date string to int...


cdateintegerscanfc-strings

Read More
const char * changing value during loop...


c++pointersc-stringsconst-char

Read More
Invalid conversion from ‘const char*’ to ‘char*’ with ```rindex``` function...


c++c++17overloadingc-stringsconst-pointer

Read More
how to determine last words of each string?...


cfor-loopwhile-loopc-stringsstrtok

Read More
How does 'std::string::c_str()' return a C string that does not cause a memory leak or undef...


c++stringmemoryc-strings

Read More
While loop quitting only when q is entered twice...


cwhile-loopscanfc-strings

Read More
How can I use strcmp properly when I have more than two strings?...


cif-statementcs50c-stringsstrcmp

Read More
C "Process finished with exit code 133 (interrupted by signal 5: SIGTRAP)" when converting...


arrayscc-strings

Read More
Inconsistent output given by same code on different C compilers...


cfor-loopnested-loopsc-stringsstring-length

Read More
When I run my code it display random symbols at the end...


c++for-loopc-strings

Read More
BackNext