While loop

I got some code in a while loop that is in a simple console program



every time I exit the program it gives me a error. I ran debug and get this on the break
mov         byte ptr [eax],0 

any help with this problem?
Last edited on
This caused by the complier, not your code.
And if your code is allowed, this will hang up your system.
The complier is very intelligent so it can optimize perfectly your code and detect some basic error, such as (your continuous with no code)
Or maybe this error is caused because of invaild pointers.
Last edited on
Use true not TRUE.

But don't use infinite loops - there are valid situations to use them, I am guessing that because this is a simple program, there will probably be no need. It would be pure speculation to say anything else without seeing your code.

Can you post your actual program?
Topic archived. No new replies allowed.