3
votes
Accepted
How to list the functions of a library in the terminal?
if you want to "list the functions in a library", you should look at the header file(s) aka .h file(s).
if you wanna search for functions in the standard library, you could execute
man -f keyword
...
Community wiki
2
votes
Accepted
How was get_string() function 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.
...
1
vote
ERROR PROBLEM SET 1- CS50 LIBRARY
string name = get_string ("What is your name?\n");
This line needs to be inside the main function.
It also needs to be before printf("hello, %s\n", name); this line, since you can'...
1
vote
How To Update Library on Ubuntu
You don't need to update the cs50 library, your problem is that your make command is using the default implicit rules to determine what to do when there is no makefile, then when the action is ...
1
vote
Accepted
How to get list of function signatures from header files
It is difficult to respond in a simple way, without going into great depths we can find very good documentation in man pages: We can find documentation of the standard head files by typing in the ...
1
vote
Accepted
How to install SPL libraries on ubuntu?
Just for reference, the problem was that the OP installed Oracle's JDK manually, and the directories containing the JDK's programs were not on root's PATH. That's why sudo make install failed, when it ...
1
vote
How submit pset5 if solution uses external library
I may be wrong, but it seems to me that if you zip all the files together in the directory that you built the executable, including the modified make file, and then upload, it should work. If not, you ...
Only top scored, non community-wiki answers of a minimum length are eligible