Your program must read its input from standard-in (a file directed to
standard-in, in c++, for example, so it will run when we
type part1
input.1)).
There will be at least one (but maybe more) newline
characters before EOF. Test your code accordingly.
Here is an example of a makefile that would create an executable part1 in c++.
all: part1.cc Bptree.cc Bptree.h
g++ -o part1 -O2 part1.cc B+-tree.cc -lm
Here is an example of a makefile for java
all: part4.java Bptree.java Dijkstra.java
javac *.java
The first line of the makefile should include all the files involved in
your project; the second line is the compilation command itself. There should
be TAB symbol after all: in the first line and at the beginning of the
second line. To compile your program simply type ``make''.