@ Lunarek : Please post your code within code blocks.
You can do that by keeping the code within [CODE] ..<your code>.. [/CODE].

Your code has so many fundamental mistakes. I think you need to strengthen your C++ basics.