There is no square
function declared or defined in that header (proof: Ctrl+f).
There isn't one in the standard library, either.
From what I can tell from the book, it mentions this function as an example of a function that you can define yourself, and shows you how to do that. It's not expected to be readily-available.