I don't understand.  I'm thinking of most math functions in the
C-library. In C a boolean is just an integer of 0 or 1 (quasi, by
definition).

Could you explain what you mean ?

In C++, bool is a new type that has two values, true and false. If you add true and true, it is still true, and not 2. In C, everything that is not 0 is true, not in C++.

Matthieu
--
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher