Questions tagged [string-library]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Editing two similar strings

It appears that if you define one string and store the value of the string in another string and you try to change one of the strings, you'll end up changing both of them(as in the image). My question ...
0
votes
1answer
235 views

My code is not passing the checks. I am also unable to understand the error in my code. Please help

I am getting these checks :( HTTP/1.0 returns error code 505 \ expected output, not an exit code of 0 :( Method of 'abcGET' returns error code 405 \ expected output, not an exit ...
0
votes
2answers
468 views

Can't pass pointer to strcat function

I'm trying to concatenate a string to another string using strcat function available in string.h, it compiles successfully but on execution, it gives segmentation fault (core dumped) message on ...
2
votes
3answers
4k views

regarding using lib string.h for lowercase

My code #include <stdio.h> #include <string.h> #include <cs50.h> int main(int argc, string argv[]) { string word = "HiMyNaMeIsJames"; strlwr(word); printf("%s", word); }...