Warning! This site is under development.
This class may be recorded! Its use will be limited to members of the class. Please do not share with others.
Approximate overview
Here’s a sample declaration of a binary search
int binary_search (char *val, char **vals, int n);
strcmp.search.c which contains the implementation of binary_search
YOURNAME.c, which contains your implementation of binary-search.search.h, which contains the declaration of binary_search.Makefile, which contains instructions for building stuff.test.c, the tests we want to run on binary_search.README.md, which says something like
binary_search
-------------
Git made me make this file.
Since it’s in a git repo,
What will we build with this Makefile?
Start with the repo at
https://github.com/grinnell-cs/csc282-2022sp
Copy _stub.c to YOURNAME.c. E.g.,
cp _stub.c yksleber.c
frank_testpaul.testaustin.testWhoops. You have now encountered the issue of multiple unices. Macs and MathLAN have different versions of, say, indent.
Professor Rebelsky will send out some notes for you to read and tasks for you to complete for next week.