Message-ID: <358C2518.864D9FE1@go.ro> Date: Sun, 21 Jun 1998 00:09:44 +0300 From: Radu Georgescu aka skoola X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Flipping an image References: <7mf2qk$nlg$1 AT rockall DOT cc DOT strath DOT ac DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com > void flip_image(int array[], int rows, int cols) > { > int row_count, col_count, total_pixelsp; > > for(row_count = 0; row_count < rows; row_count++) > { > for(col_count = 0; col_count < cols; col_count++) > { > array[???] = array[???]; > } > } > } think: there should be something like: for(i=0;i