wrote:when i run in vc++ compiler it always show to me about that "Improper number of arguments".
Of course. Have you configured VC to send three arguments when running the code ?
Also - I deleted your second question. I said to edit this post. I did it for you and formatted it, but asking twice is kind of rude and pollutes the forum.