progs/cross.hpp

The following code example is taken from the book
Object-Oriented Programming in C++
by Nicolai M. Josuttis, Wiley, 2002
© Copyright Nicolai M. Josuttis 2002


#ifndef CROSS_HPP
#define CROSS_HPP

// declaration of a function that calculates the cross sum of an integer
int crosssum(long number);

#endif