From: Ben Pfaff Newsgroups: comp.os.msdos.djgpp,comp.lang.c Subject: Re: Copying memory to memory problems Date: 11 Jul 1998 17:15:52 -0400 Organization: Michigan State University Lines: 12 Sender: blp AT smaug Message-ID: <87ww9km6lz.fsf@dial1.msu.edu> References: <35a7cf26 DOT 7861242 AT news DOT unisys DOT com DOT br> Reply-To: pfaffben AT pilot DOT msu DOT edu NNTP-Posting-Host: pm336-06.dialip.mich.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk brunobg AT geocities DOT com (Bruno Barberi Gnecco) writes: I need to move a part of an array to some bytes ahead. I'd do it using: for (i = size; i > x; i--) array[i+1] = array[i]; Use memmove(). -- (supporter of the campaign for grumpiness where grumpiness is due in c.l.c) Please: do not email me copies of your posts to comp.lang.c do not ask me C questions via email; post them instead