changed ex7_23_24_25.cpp to ex7_23.h/cpp and ex7_24.h

1. `const pos h`'s `const` is unnecessary.
2. the second contructs get contents by a `while` loop. unnecessary.
3. the third contructs may not get the point of question. (**a character**)
4. we should add inline member functions in this exercise.