Labs for CS 114, Fundamentals of Computing I
This repo consists of ten labs associated with my section of CS 114, Fundamentals of Computing I, at The University of Hartford.
Included in every lab folder is a Makefile
to build and run your programs. Each Makefile
is configured to work with the first program of every lab.
You can modify it to work with the other programs once you’re done with the first. The only modification required is to change the value assigned to filename
on line 1 of Makefile
to the name of the file you will be working with, sans extension. For example, if you wanted to work with a file called Names.java
, then you’d assign Names
to filename
, not Names.java
.
- Assuming
make
is installed on your system, open your command line interface, or CLI, and navigate to the lab’s folder. - To compile then run your program, type
make
. Do this each time you want to compile then run your program. - Afterwards, if you only want to run your program, type
make run
. - Similarly, if you only want to compile but not run your program, then type
make compile
. - To remove the
.class
file associated with your program, typemake clean
.