This is my practice by vc++.These code maybe same as books'.(My Englih is not good)