Hi guys I am really desperate on trying to make my code work. The code is to find the eigen values of any given matrix of dimension NxN. The input can be the diagonal of any NxN matrix alongwith its subdiagonal. The code works fine for N~350 or so but when i go beyond that these errors appear. First-chance exception at 0x00425ea4 in divide.exe: 0xC0000005: Access violation writing location 0x01141000. Unhandled exception at 0x00425ea4 in divide.exe: 0xC0000005: Access violation writing location 0x01141000. But as i have never declared any variable statically and when i dynamically allocating memory with variables it should work like it does for smaller N values. The code is very long about 6000 lines so if you want i can post it in here. I know my question is very vague but as the code is too huge to post i am not doing so. I can send u the cpp file by mail if u wish for it. **Wanted to know whether you have come across these kinds of error like when increasing the size causes this bugs to show up. Guys i need serious help. I have been working on this for the past month and now while checking for larger matrix it is not working. Please any kind of help will be appreciated. Thanx.