GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cpppd/libcs50: CS50 Library for C

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

198 Commits
198 Commits

Folders and files

NameName
Last commit message
Last commit date
debian
debian
 
 
docs
docs
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

CS50 Library for C

Build Status

Development

make build: builds dynamic library

make deb: builds source deb

make hack: combines library into cs50.h

make install: installs the library under /usr/local by default (set DESTDIR to change that)

Installation

Ubuntu

$ sudo apt-add-repository ppa:cs50/ppa
$ sudo apt-get update
$ sudo apt-get install libcs50

From Source

  1. Download the latest release per https://github.com/cs50/libcs50/releases
  2. Extract libcs50-*.*
  3. cd libcs50-*
  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();

Documentation

See man get_* after installation, or CS50 Reference!

TODO

  • Add tests.

Contributors

  • Chad Sharp
  • Emrul Hasan Zawad
  • Ivan Jasenov
  • Kareem Zidane

About

CS50 Library for C

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.