You have posted this in the articles section of C-C++ and its been quite some time you have been here and so you should not be making the same mistakes over and over again.