Want to avoid ERROR_INVALID_ADDRESS 487 (0x1E7). possible?

Hello,
I am a new programmer, actually i am learning C++ through different programming books and CDs. As a new learner some errors and some info becomes very unknown for me. As a result i cant not finish my work properly. I got some problems in a dialog box. Among those problems this is very common problem i face daily when learning c++ programs which is given below:
ERROR_INVALID_ADDRESS
487 (0x1E7)
I don't know why this happens. I will be very happy if any expert helps me to solve this problem or any steps so that i can avoid this message.
Thank you.
