https://github.com/deevus/comp2240-assign2
https://github.com/deevus/comp2240-assign2
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deevus/comp2240-assign2
- Owner: deevus
- Created: 2014-09-09T08:04:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-10T12:51:26.000Z (over 11 years ago)
- Last Synced: 2025-02-13T03:22:17.296Z (about 1 year ago)
- Language: C
- Size: 402 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
COMP2240 Assignment 2
=====================
Author: Simon Hartcher
======================
Requirements
------------
On Windows, you need to have pthreads installed and visible to gcc. As far as I know it should work
in Cygwin without any changes.
If all else fails, it will compile and run out of the box on jumpgate or compseng. The only thing was
that I noticed some discrepancies with question 4 on linux that I was unable to rectify.
Building And Running
--------------------
You can build with make. It will generate 4 (four) binaries (q1, q2, q3 and q4). You run each with arguments
for north and south farmers. Eg to run q3 with [N=3, S=4] you would run ./q3 3 4
[](https://travis-ci.org/deevus/comp2240-assign2)