C and C++ code written for school.