Hot answers tagged

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 ...
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. ...
user avatar
  • 63.4k
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'...
user avatar
  • 699
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 ...
user avatar
  • 1,369
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 ...
user avatar
  • 5,172
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 ...
user avatar
  • 17.4k
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 ...
user avatar
  • 63.4k

Only top scored, non community-wiki answers of a minimum length are eligible