The attatched program is an improved version of the one I've posted in previous 'Program Troubles' threads. My problem is that in the buff variable, only the last characters that were cpoied into it using strcpy() actually get stored in the array. Can anybody tell me whats wrong?

Thanks