I will. Just a sec...Quote:
For either problem please post the smallest piece of code that demonstrates the problem. The code you have posted does not seem to have any problems when I compile and run the code snippet. Also post a sample of any any files the program is reading and or writing and any command line arguments passed to the program.