Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basics of Memory allocation!

Status
Not open for further replies.

ebuBekir

Technical User
Sep 6, 2001
22
DE
Hi @ all!
I get an Application error when I start my program. It says: The instruction at "0x77.." referenced memory at "0x40.." and that it could not be "written".
I think my program needs too much space for allocation.

Sorry, I'm pretty bad in programming C.
This problem occurred first, when I recognized that my program rewrites the beginning of one of my arrays. So I allocated space for my array, as I did it wrongly before. And now I get an error, at some place where the program should allocate space for some other array.
I'm wondering if anyone can help me.

Thanx alot for reading! :cool:
 
Hi again @ all!
Today I had to recognize that I was writing out of the borders of the arrays at some places.

Anyway, thanks alot for your help! :cool:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top