Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C Coding - comment code appropriately, be clear on different programs (main functions), header and makefile needed, the rating will be given Need a file

C Coding - comment code appropriately, be clear on different programs (main functions), header and makefile needed, the rating will be given

Need a file for each program that contains only a main function, (i.e. "init_aim.c", "register.c", "sort.c", etc.), and another file that contains all the helper functions called "aim.c" as well as a corresponding header file called "aim.h". Also, hand in a makefile that compiles all the programs from the main functions and "aim.c".

Academic Information System Program

image text in transcribed

Program 2: register

image text in transcribed

program 6: class schedule

image text in transcribed

image text in transcribed

Introduction For this assignment, you will be writing a small collection of programs that will manage some academic information. You will do this by using binary files, dynamically allocated arrays and linked lists Structures You program will use the following structures struct student_struct char last_name[64]; char first_name [64]; char middle_names [64]; int id; char major[64]; struct course_struct char code[10]; char term[6]; char title[128]; char instructor[64]; struct student_course struct int student_ id; char course_code [10]; char term[6]; char registration[4]; int grade; d: Program 1: init_ aim You will write a program called "init aim" which will initialize the academic information management system. To do this, you will create 3 files "students.bin", "courses.bin" and "student course.bin". Each file should be of size zero bytes (you can do this by issuing fopen and fclose functions) Introduction For this assignment, you will be writing a small collection of programs that will manage some academic information. You will do this by using binary files, dynamically allocated arrays and linked lists Structures You program will use the following structures struct student_struct char last_name[64]; char first_name [64]; char middle_names [64]; int id; char major[64]; struct course_struct char code[10]; char term[6]; char title[128]; char instructor[64]; struct student_course struct int student_ id; char course_code [10]; char term[6]; char registration[4]; int grade; d: Program 1: init_ aim You will write a program called "init aim" which will initialize the academic information management system. To do this, you will create 3 files "students.bin", "courses.bin" and "student course.bin". Each file should be of size zero bytes (you can do this by issuing fopen and fclose functions)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

An element can only have an ID OR a class but not both.

Answered: 1 week ago