Search for question
Question

● ● Implementation Requirements Depending on your operating system, download the starting code from Brightspace (A01_Windows.zip or A01_macOS.zip) and extract the zipped file. Open VS Code by double-clicking on the "A01.code-workspace" file. A01_xxx folder contains the following files: O al_data_structures.h - defines the data structure you must use to record the data of the project and milestones. ● SYSC 2006: Foundations of Imperative Programming ● ● O IMPORTANT: You are allowed to create extra functions as long as they complement the required ones, not replace them. New function declarations must go inside al_functions.h contains the definitions (implementations) of the functions listed in O O Carleton University Department of Systems and Computer Engineering al_functions.h - contains the declarations of the functions you must implement. The function prototypes and names must be used exactly as in the provided file. All these functions must be used in your solution. al_functions.c al functions.h. main.c - contains the main function of your program. There shouldn't be any functions declared or defined in this file other than main() function. Your solution should go in the provided four files. You are not allowed to create extra files. Enter your information at the top of each provided file in the assigned location. You are not allowed to modify any of the functions' declarations/prototypes. The code you are not allowed to modify is highlighted with “/********** DON'T MODIFY **********/”. O #include <iostream> using namespace std; You have to write the program in C language (not C++) using Visual Studio Code. Do not use any C++ elements. Examples of C++ elements: Global variables are forbidden. You must include header guards, as explained during the course. Your constants must be defined using the #define preprocessor directive. You have to properly assign data types based on what is needed (for example, you should use unsigned short int if your variable’s maximum value is 1000 and minimum is 0) You should add comments to your code where needed. You are only allowed to use what you learned from Lecture 1 to Lecture 12. No use of dynamic memory allocation. Page 9 of 10 There might be similar ideas available online: if you use any code that is available online your assignment will be sent to the Dean's office as a potential case of plagiarism. You must work on your own, without the help of others, and you are not allowed to reuse any code available online. SYSC 2006: Foundations of Imperative Programming Wrap UP & Submission O O Make sure that your solution adheres to the implementation requirements. Submit the following files by the deadline: main.c O O al_functions.c al functions.h al_data_structures.h Carleton University Page 10 of 10 Department of Systems and Computer Engineering If you fail to follow the implementation requirements, you will lose marks or even receive a ZERO. If your submitted code does not compile, your grade will be ZERO. No exceptions. No email submissions are allowed. You will receive a ZERO if you miss the deadline or submit by email. NOTE: Your code does not need to be perfect to get partial marks, but it must at least compile.