Posted by Cruinh on August 05, 1999 at 01:13:32:
In Reply to: Access Violation? posted by Cruinh on August 04, 1999 at 23:08:55:
Never mind, I found the problem. However, a rather curious thing was happening. I had a counter variable declared in a for loop like so...
for(int i... ){}
but tried to use the variable in the call to a function just after the for loop (where the 'i' variable should no longer have scope). The function that I was calling seemed to work fine (it output the values passed to it, including 'i'). But there wasn't a problem until after returning from that function. huh???