Question: < Important Note > All CS 2 2 1 projects are automatically graded in order to provided you timely feedback. So , it is critical
Important Note
All CS projects are automatically graded in order to provided you timely feedback. So it is critical that you follow all directions for the preparation and submission of your projects for grading. Failure to follow the directions may result in zero credit points
A fundamental software engineering skill is the design, implementation, and testing of a software component that may be integrated into a larger software product. In order to do this, the software component must conform to a previously agreed upon interface format. As part of this assignment, you will practice this skill by writing several functions that will be integrated into a larger software product provided by the instructor. Along the way you will review basic C programming skills required for successful completion of CS
For this project, you will complete the provided partial C program by implementing six functions that perform simple image processing operations on images stored as x two dimensional arrays of integers. The image processing operations are:
Load Image
Horizontal Flip
Vertical Flip
Transpose
Rotate deg Clockwise
Rotate deg Counter Clockwise
You must implement each of these operations as a C function. Your code for the six functions above even if the functions are empty must appear in the file named projectcpp in order to compile correctly. Remember, spelling and capitalization count in LinuxC
The function main has already been implemented for you to provide a common way for everyone to test their code. The function main will scan a sample input file and perform the requested series of image processing operations by invoking your functions as needed.
Prototypes for the six functions are already provided for you in main.cpp do not modify main.cpp All program output is performed by the code in the main.cpp file do not include any output statements in the file projectcpp
The interfaces to each of these functions you must write are described in detail on subsequent pages and in the prototypes listed within main.cpp
Hint: Match the output of your program to that of the sample solution!!!
This project consists of two C files one named main.cpp provided by the instructor and one named projectcpp written by you, along with a file named makefile to help you compile your program. A makefile contains the sequence of commands required to compile and assemble link your executable program. The provided file works on Linux. If you examine the structure of main.cpp you will see an extra #include directive near the end of the file this statement will cause the preprocessor to import the function definitions you have written and saved in the projectcpp file. So for this assignment, all you must do to compile the program is to use the following command at the Linux command line
make
which will create an executable named project from the provided main.cpp and the projectcpp file you have written. While this is not a standard use of or location for a #include statement, it will help facilitate automatic grading of your submission.
If your program compiled successfully, you may then type
project NameOfInputFile
to execute your program assuming that the input file is located in the same directory with the executable. For example, project pinputtxt
Remember, submit only the projectcpp file for grading.
You will be provided with a C file named main.cpp which contains the main function of the program. The function main contains code that invokes several supporting functions that you must implement. The support functions you will write must be placed in a file named projectcpp lowercase letters, no spaces in order for your program to compile and execute.
Important directions you must follow:
Do not modify the file named main.cpp
Failure to satisfy this requirement will result in zero credit points on this assignment.
All of your work the support functions must be placed in a file named projectcpp All lowercase letters in the filename with no spaces.
Failure to satisfy this requirement will result in zero credit points on this assignment.
All output to the monitor stdout will be performed by the code provided in projectcpp
Your program must be fully commented including variable and parameter declarations, functions, logical blocks in order to receive debugging assistance from the instructor and teaching assistants.
NOTE: Your project submission will be automatically graded so it is EXTREMELY IMPORTANT that you READ and FOLLOW the project directions.
Submit only projectcpp to the Canvas assignment.
Submisssions by email receive ZERO CREDIT points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
