cs50 /
python-cs50
This is CS50's library for Python.
Loading repository data…
cs50 / repository
This is CS50's Library for C.
make: builds dynamic library
make deb: builds source deb
make install: installs the library under /usr/local by default (set DESTDIR to change that)
$ curl -s https://packagecloud.io/install/repositories/cs50/repo/script.deb.sh | sudo bash
$ sudo apt-get install libcs50
$ curl -s https://packagecloud.io/install/repositories/cs50/repo/script.rpm.sh | sudo bash
$ yum install libcs50
libcs50-*.*cd libcs50-*sudo make installBy default, we install to /usr/local. If you'd like to change the installation location, run
sudo DESTDIR=/path/to/install make install as desired.
/usr/bin/ld: cannot find -lcs50:
Add export LIBRARY_PATH=/usr/local/lib to your .bashrc.fatal error: 'cs50.h' file not found:
Add export C_INCLUDE_PATH=/usr/local/include to your .bashrc.error while loading shared libraries: libcs50.so.8: cannot open shared object file: No such file or directory:
Add export LD_LIBRARY_PATH=/usr/local/lib to your .bashrc.Close and reopen any terminal windows.
Link with -lcs50.
#include <cs50.h>
...
char c = get_char("Prompt: ");
double d = get_double("Prompt: ");
float f = get_float("Prompt: ");
int i = get_int("Prompt: ");
long l = get_long("Prompt: ");
string s = get_string("Prompt: ");
// deprecated as of fall 2017
long long ll = get_long_long("Prompt: ");
See man get_* after installation, or CS50 Reference!
Selected from shared topics, language and repository description—not editorial ratings.
cs50 /
This is CS50's library for Python.
cs50 /
This is @cs50's theme for Jekyll. Inspired by https://github.com/poole/hyde.
cs50 /
This is CS50's command-line interface.
codenameberyl /
This is my implementation of CS50’s introduction to databases using a language called SQL.
cs50 /
This is CS50's library for C++.
jeallz /
Exercícios práticos do CS50's Harvard | cs50.harvard.edu/x/