Requires Docker Toolbox.
docker-compose run cli # runs CS50 CLI
make # builds all
make lib # builds lib/libcs50.a
make test # builds build/test
Link with -lcs50
.
#include <cs50.h>
...
char c = get_char();
double d = get_double();
float f = get_float();
int i = get_int();
long long ll = get_long_long();
string s = get_string();
- Change format of multi-line comments?
- Add tests.