

Note the use of quotes instead of angled brackets. You can also transfer files between iPod touch and other devices by using AirDrop and sending email attachments.

It depends on your compiler, but odds are the simplest method of installation is to:Ĭopy cs50.c and cs50.h into the same directory as your own code.Īfter installing the CS50 Library, you can include its header file atop your own code with: #include "cs50.h" Select version: Table of Contents Transfer files between iPod touch and your computer You can use iCloud Drive to keep your files up to date and accessible on all your devices, including Windows PCs. Open Applications > Utilities > Terminal, and navigate your way to the CS50 Library’s directory, as with cd.Įxecute the commands below, entering your password if prompted: gcc -c -ggdb -std=c99 cs50.c -o cs50.o Then install the CS50 Library as follows: yum -y install gcc // Fedora, RedHat, CentOSĪpt-get install gcc // Debian, Ubuntu, Mintįor those lucky fellows running Linux, there's this reddit explaining how to make Linux Mint "CS50 compatible" (i.e.: installing clang, check50, and cs50 libraries for Python, Ruby and PHP) Sudo -s // Debian, Ubuntu, Mint //edited from sudo su -, use sudo -s on Ubuntu. Here are the instructions for installing CS50 library in your OS:įirst become root, as with: su - // Fedora, RedHat, CentOS
