Update ex12.26.cpp

when I use" delete[] p;",an error occurred.
Merge pull request #12 from gupenghu/patch-2

Update ex12.26.cpp
Merge pull request #81 from pezy/master

Fixed ex12.26.cpp