Search code examples
C programming Patterns to print the following pattern...


ccharprintfnested-loopsc-strings

Read More
Unable to assign values to pointer without scanf()...


cparsingcharc-stringsfunction-definition

Read More
Why does cpp execute 2 different implementations of the same functions based on the ability to evalu...


c++c-stringsconstexpr

Read More
Why does my 2D Vector of C strings not output the element at the given index?...


c++vectorindexingc-stringsncurses

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


pythonstringnullpython-2.xc-strings

Read More
Why/when should I include a terminating '\0' character for C strings?...


cstringc-stringsnull-terminated

Read More
String termination - char c=0 vs char c='\0'...


cstringc-stringsnull-terminatedansi-c

Read More
How to pass a vector of strings to a function with a C-style pointer-to-C-string parameter...


c++arraysstringvectorc-strings

Read More
Trying to learn how getchar works...


cvalidationstructcharc-strings

Read More
Why do I get a segmentation fault when writing to a "char *s" initialized with a string li...


csegmentation-faultc-strings

Read More
Why is c not returning my string?...


cprintfbitwise-operatorsc-stringsimplicit-conversion

Read More
Why does "\0" give integer in c...


cif-statementc-stringsimplicit-conversionequality

Read More
Why does my function replace my letters with weird characters?...


cc-strings

Read More
Is it safe to call free on std::string_view::data?...


c++mallocc-stringsfreestring-view

Read More
What is a null operation?...


cc-strings

Read More
How do I convert a long string into a smaller abbreviation consisting of the first character, last c...


cloopscharc-strings

Read More
Can someone help me understand this unexplained behaviour in C char arrays?...


cwhile-loopswitch-statementc-stringskernighan-and-ritchie

Read More
remove a character by using conditional statement...


cloopscharc-stringsfunction-definition

Read More
Calling SHGetKnownFolderPath from Python?...


pythonctypesc-stringsshell32.dlllpwstr

Read More
Syntax problem in my C++ code: deprecated conversion from string constant to 'char*'...


c++constantsc-stringsstring-literalsfunction-declaration

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


c++c-strings

Read More
How do I remove repeated words from a string and only show it once with their wordcount...


c++c-strings

Read More
Is there a safe way to assert if a string view is null terminated?...


c++stringassertc-stringsstring-view

Read More
How to reduce memory used by an array buffer?...


c++arraysmemoryc-strings

Read More
Does the preprocessor prepare a list of unique constant strings before the compiler goes into action...


cc-preprocessorc-strings

Read More
How to convert cString into String in Swift6?...


swiftstringmigrationc-stringsswift6

Read More
C - split string into an array of strings...


cc-strings

Read More
How to debug this substring matching code?...


cif-statementpointerswhile-loopc-strings

Read More
join() or implode() in C...


cc-strings

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


c++stringc-stringsstring-lengthstrlen

Read More
BackNext