![]() |
| ||
| Unhandled exception and Access violation for every program I was working on some programs and now, no matter which one I run, I get an error like this: Unhandled exception at 0x00411be0 in program.exe: 0xC0000005: Access violation writing location 0x00130000. Any ideas what is causing this or how I can fix it? |
| ||
| Re: Unhandled exception and Access violation for every program Have you ran through the code till this occurred? And actual code is nice, too. |
| ||
| Re: Unhandled exception and Access violation for every program There are specifically two of them that are giving me this problem. The error appears as a pop-up. The debug tool, however, doesn't show an error. #include <stdio.h> #include <stdio.h> |
| ||
| Re: Unhandled exception and Access violation for every program I managed to fix the first one, so now I just need help with the second program. |
| ||
| Re: Unhandled exception and Access violation for every program You do not declare, or define functions in other functions. Macros tend to go outside publicly. Are you actually modifying text[] in convertToUpper()? You loop and call a function, but only call printf() once, because you're missing something. If the file didn't open, do you have to frantically escape, and not just pass over code with an if-else condition? |
| All times are GMT -4. The time now is 3:43 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC