Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in c-strings
Can't write into a text file with for loop in c
Aug 06, 2026
c
for-loop
malloc
c-strings
writefile
Can someone explain why printf("%s", str + str[0] - str[3]); works in C?
Aug 04, 2026
c
c-strings
How can I move a file pointer to the next line in a file?
Aug 03, 2026
c
file
pointers
c-strings
Is it valid for an std::string to contain a null character '\0' not at its end? [duplicate]
Jul 29, 2026
c++
stdstring
c-strings
null-terminated
Is it undefined behavior what strncmp(s1, s2, 0) returns (i.e. the last argument is zero)?
Jul 27, 2026
c
language-lawyer
c-strings
strncmp
Why/when should I include a terminating '\0' character for C strings?
Jul 27, 2026
c
string
c-strings
null-terminated
comparing the ending of the strings
Jul 05, 2026
c
c-strings
strcmp
suffix
function-definition
Is it safe to put '\0' to char[] one after the last element of the array?
Jul 02, 2026
c++
arrays
c
initialization
c-strings
Why does my function replace my letters with weird characters? [closed]
Jun 30, 2026
c
c-strings
C Increase char array of char array size
Jun 25, 2026
c
multidimensional-array
dynamic-memory-allocation
c-strings
realloc
Why is the size of my string changing? (C)
Jun 22, 2026
c
string
string-length
c-strings
Search and replace c-style strings in c++
Jun 20, 2026
c++
c
search
pointers
c-strings
sizeof('\0') null terminator as literal is four bytes but how come in string of characters it takes only one byte?
Jun 16, 2026
c
malloc
c-strings
sizeof
null-terminated
Distinguishing const char * and char * with C _Generic macro
Jun 15, 2026
c
generics
c-strings
Why can't char pointers be defined as arrays?
Jun 11, 2026
c++
initialization
c-strings
Is it safe to replace LPCTSTR with CString?
Jun 10, 2026
c++
visual-c++
mfc
desktop-application
c-strings
Concatenating strings in C. newline in output
Jun 08, 2026
c
concatenation
c-strings
Cppcheck saying that char[256] should be initialized in constructor's initializer list
Jun 04, 2026
c++
initialization
c-strings
initializer-list
cppcheck
Swift fast low level String lastIndexOf
Jun 04, 2026
string
swift
c-strings
Is it safe to call free on std::string_view::data?
Jun 01, 2026
c++
malloc
c-strings
free
string-view
Older Entries »