CPS188
Computer Programming Fundamentals
Windows Development Environments
FOR PERSONAL COMPUTER USE ONLY - DO NOT DOWNLOAD/INSTALL IN TMU LABS
MacOS Development Environments
-
Geany:
A C integrated development environment for many platforms including Mac. It is the IDE used in the labs and midterm test. There are two ways to install on a Mac. Method A goes step-by-step with the graphical interface, method B uses command line in the terminal app (method B is easier, as it installs everything at once including Xcode).
- Method A:
- Install Xcode to get the C compiler (Geany is only an interface, not a compiler).
- Go to https://www.geany.org/Download/Releases and select the current MacOS version (geany-1.38_osx-4.dmg).
- Click on the dmg ("Disk Image") icon and save the result in your Applications folder.
- Write/Save or Load program, Compile > Build > Execute.
- Method B:
- Press Command+Space and type Terminal and press the enter/return key.
- In the terminal app, type/copy
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
and press the enter/return key. Wait for the command to finish. If the screen prompts you to enter a password, enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press the enter/return key. Then wait for the command to finish (will take a few minutes).
- Now, copy/paste and run this command to make brew command available inside the Terminal: echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
- In terminal app, run brew install --cask geany (might take a few minutes too).
- Close the terminal app. You are done! You can now use Geany.
Source: https://macappstore.org/geany/
-
Xcode:
A C integrated development environment for Macintosh made by Apple. Download here.
Online Development Environments
Plotting Utilities (GNUPlot)
-
: Windows version of the portable command-line driven graphing utility. View tutorials >
-
: MacOS version of the portable command-line driven graphing utility. View tutorials >
-
: Online editor accepting GNUPlot commands and producing a graph in SVG format.
-
: Use the professional open-source software gnuplot online, right in your browser to create stunning plots.
Other Tools
-
: C source code and expected results when executed.
-
: Convert numbers from decimal to binary and from binary to decimal.
Copyright © 2024 Toronto Metropolitan University. All Rights Reserved.