Re: MSC 5.1 bug? Funny, when I compile the thing under Microsoft C 5.1, it works as it's supposed to!!! Have you corrupted your compiler files somehow?