Skip to content

vymok/c203

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comp20003-Week 03: Sample multi-file project and Makefile

How to use:

  • Download the whole directory to JupyterHub working directory (see below)
  • Compile the package with
   cd c203
   make
  • Explore main.c, factorial.c, factorial.h and Makefile to see how to make a simple package with 2 .c files
  • Explore Makefile.ver1 and Makefile.ver1_explained. These two files are the same, and each is equivalent to the Makefile

HOW_TO: download/copy the files from this github repository

If you just want a single file, say, Makefile:

  • Click on the link Makefile (at the top of this github) and you will see its content
  • Copy the content and paste into your editor's window before saving on a driver. The easiest way to copy is (a) click on Raw to see the plain text content, then (b) press Ctrl-A then Ctrl-C to copy the whole content.

Or, if you want to copy the whole directory to your JupyterHub working directory:

  • You can just use git clone. Run the following command in a Jupyter's Terminal window:
git clone http://github.com/anhvir/c203

And you will see a new folder c203 under your current directory.


by avo@unimelb.edu.au, for use in unimelb COMP20003 workshops.

For a teaching week, a new content is (normally) uploaded at the very beginning of the week, and that content is removed one week later.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 73.7%
  • Makefile 26.3%