Question: Need help with this C program, please help with the code for all parts. Thank you! Lab 6 - Arrays, Pointers, and Structures Objectives In

 Need help with this C program, please help with the code

for all parts. Thank you! Lab 6 - Arrays, Pointers, and Structures

Objectives In this lab, each student is to write a program called

prog6.c that allows the user to operate on bitmap images. The student

Need help with this C program, please help with the code for all parts. Thank you!

Lab 6 - Arrays, Pointers, and Structures Objectives In this lab, each student is to write a program called prog6.c that allows the user to operate on bitmap images. The student should gain and understanding of Use of Dynamic Memory Allocation Manipulation of Two-Dimensional Arrays Manipulation of Structures Use of Pointers to Structures Format and Manipulation of Bitmap Image Files Use of Command Line Arguments . . . Input The program should receive as command line arguments the name of an input file, the name of an output file (which must be different), and three numbers from -200 to +200, e.g prog6 Tiger.bmp TigerOut.bmp +63 -17 +0 The input file is to be a 24-bit color bitmap image of the windows bmp format. A 24-bit color .bmp file has two parts to its header describing the image file. The first header has the following structure struct HEADER ( unsigned short int Type; /*Magic identifier /*File size in bytes unsigned int Size; unsigned short int Reservedl, Reserved2; unsigned int Offset; /*Offset to data (in B) /14 Bytes -- l Header; Lab 6 - Arrays, Pointers, and Structures Objectives In this lab, each student is to write a program called prog6.c that allows the user to operate on bitmap images. The student should gain and understanding of Use of Dynamic Memory Allocation Manipulation of Two-Dimensional Arrays Manipulation of Structures Use of Pointers to Structures Format and Manipulation of Bitmap Image Files Use of Command Line Arguments . . . Input The program should receive as command line arguments the name of an input file, the name of an output file (which must be different), and three numbers from -200 to +200, e.g prog6 Tiger.bmp TigerOut.bmp +63 -17 +0 The input file is to be a 24-bit color bitmap image of the windows bmp format. A 24-bit color .bmp file has two parts to its header describing the image file. The first header has the following structure struct HEADER ( unsigned short int Type; /*Magic identifier /*File size in bytes unsigned int Size; unsigned short int Reservedl, Reserved2; unsigned int Offset; /*Offset to data (in B) /14 Bytes -- l Header

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!