When I tried to do something with "Strings" in C programming language, either it won't give the desired result or I end up in 'Segmentation fault'. Lot of books in C show "Strings" manipulating with pointers. I like C in the sense that we can access the characters with the memory where they sit. But when I compile the full program, it compiles without any error , but finally when I run it , normally I endup in "Segmentation fault".
So thought of learning some string manipulation/Methods in Rust Programming language.
https://doc.rust-lang.org/std/string/struct.String.html#method.from
No comments:
Post a Comment