then your implementation should display the error using perror (available in 〈cstdio〉). In general if an error occurs (e.g.