Homeworks
Please read the homework presentation, collaboration, and submission guidelines, optional problems.
Attention
-
Delete spurious files. No: *.o, a.out *~. Extensions are fixed: .cc and .h
-
Each problem is solved in a different directory: Problem1, Problem2, etc
-
The name of the file containing the main function is fixed: prob1.cc, prob2.cc
The a.out for a problem is obtained using: "make" OR "g++ *.cc"
-
Programs must read the input from standard input and print the output to
standard output (grading will be done using redirections: a.out < test.txt)
-
Use FTP ascii mode (not binary) when transfer files from other systems
-
Use always the following header for files
// Name
// homework number (e.g. Homework 1)
// problem description (e.g. Pb. 8 / Pg. 46)