Where's your question?
Furthermore, this is a forum for the C language, and you are showing us an aberration of C++.
Use proper code tags when posting source code. Read the rules or you'll be ignored.
Reputation Points: 2224
Solved Threads: 218
Nearly a Posting Maven
Offline 2,304 posts
since Dec 2006