Thanks to visit codestin.com
Credit goes to github.com

Skip to content

khooi8913/cs50

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS50 Library for C

Development

Requires Docker Engine.

make bash
make build # builds dynamic library
make deb # builds .deb
make pacman # builds .pkg.tar.xz
make rpm # builds .rpm
make test # builds test program

Installation

  1. Download the latest release per https://github.com/cs50/lib50-c/releases
  2. Extract lib50-c-*.*
  3. cd lib50-c-*
  4. make install

Usage

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();

TODO

  • Add tests.

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 87.2%
  • Makefile 12.8%