I've been using the library cs50.h, but I was curious how one of the functions, get_string() was actually written in C.
You can find the current cs50.c and cs50.h files in
/usr/src/libcs50 in the IDE. Suggest running update50 to make sure that you have the most current versions as it does get updated from time to time.
If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)