BEST代写-线上留学生作业代写 & 论文代写专家

成立于2015年的老牌留学生代写品牌-BEST代写提供超过百门冷热门留学学科的作业和论文代写服务。全网BEST原创,高质,准时的留学生代写。

C语言代写 | UCP1000 Unix and C Programming

C语言代写 | UCP1000 Unix and C Programming

本次澳洲代写主要为C语言的assignment

Overall Program

FastFlight Airlines is a company that owns several commercial airplanes for international and
domestic flights.
They have recently been bought by a large conglomerate and have commissioned you to
write a C application to track their planes.
The airline has several planes and need to store the information about several different
airports.
Your program is to read a collection of these airports and planes from text files into one or
more Linked List data structures and perform the required processing operations on the
data. Your program should be compiled with make and contain a working makefile.

Task 1 – Data Types (15 Marks)

Declare suitable C datatypes to represent each of the following sets of information in a
header file.

1. A Plane type that includes
• Plane ID (an Integer)
• Plane Model (max 63 letters)
• Plane Manufacturer (max 127 letters)
• Plane location (Three Letter Code)
2. An Airport type that includes
• Airport ID (Three Letter Code)
• Airport name (max 127 characters)
• Airport country (max 127 characters)

Task 2 – Loading Data (25 Marks)

Write a function (or collection of functions) that will read a list of airports and planes from text
files and populate appropriate data structures from task 1.
This is an example file (Available to download on Moodle) showing the airport file format:

The airports are categorised in the file by country. Under each country name is a list of three
letter airport codes and names.
This is an example file (Available to download on Moodle) showing the Plane file format:
Australia
ADL-Adelaide Airport
ASP-Alice Springs Airport
PER-Perth Airport
SYD-Sydney Airport
BNE-Brisbane Airport
MEL-Melbourne Airport

New Zealand
AKL-Auckland International Airport

The Moon
SPL-SpaceY Lunar Base

Each plane takes up exactly four lines (Id, name, manufacturer, location).
0
Boeing 737
Boeing
PER
1
Boeing 747
Boeing
IN AIR
2
A380
Airbus
MEL
3
Soyuz
Energia
SPL

bestdaixie

评论已关闭。