Develop a class airborne location

Assignment Help C/C++ Programming
Reference no: EM13161711

develop a class AirborneLocation that represents the location of airplanes with respect to a reference radar location. Each AirborneLocation object should include data member for aircraftID (integer),

aircraft type (M or C as a char) and the position x,y, and z (double). the x corresponds to east or west with east being positive. the y corresponds to north or south with the north being positive
the z coesponds to up or down with up being positive.

the class should have functions for getting and setting each of its data members. it should also have functions for calculates how far the plane is from the reference (x^2+y^2+z^2)^(1/2)

the main program should read in data from a file. a sample file is given below. then it should ouput all the information in the file in nice neat columns along with the plane that is the closest
and he farthest from the radar station
example
7194   M   95.2   20.4   3.5
9502   C   -38.1   -45.9   -1.1
7771   C   55.7   -50.2   .3
9947   M   -87.6   14.5   2.0
1213   C   10.8   -96.5   1.5

 

 

Reference no: EM13161711

Questions Cloud

The graphics frame class and the drawable interface : This lab makes use of the GraphicsFrame class and the Drawable interface. Your missions is to create the class Airplane.
After the array is created and loaded : After the array is created and loaded, the problem is then to sort the array and print out the contents of the sorted array. Please use a separate function for the sort routine and also a separate function for the print out of the array.
The first will be a structure called point : Create two structures. The first will be a structure called Point and will have as its data members an x and y coordinate. The second will be called Line and will have two Point structures as its data members.
Sorting routine adopted in the java api for arrays.sort()? : What is the sorting routine adopted in the Java API for Arrays.sort()? How different is it from the sorting routine we discussed in class? Is it better? Explain your answers in short clear sentences.
Develop a class airborne location : develop a class AirborneLocation that represents the location of airplanes with respect to a reference radar location. Each AirborneLocation object should include data member for aircraftID (integer),
Write a recursive method to reverse a string. : write a recursive method to reverse a string. Explain why you would not normally use recursion to solve this problem?
What is the goal of information systems planning? : What is the goal of information systems planning? What are the steps of the traditional systems development life cycle? What is prototyping? What is an RFP? What is typically included in one? How is it used?
What is a knowledge repository? : What is a knowledge repository? What is a community of practice? What is a chief knowledge office? What are his or her duties? What is natural language processing? What are the three (3) levels of voice recognition? What is a learning system?
What is a uml diagram? : What is a UML diagram? What does it include? Why is it used? What would the UML diagram look like for our lab assignment? This is for computer programming

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write c program which has parent process and child process

Write a C program that has a parent process, a child process, and a grandchild process. The parent process should print its id and the square or 5.

  Construct vector and linked lists data structures

You will prepare sorted versions of the Linked Lists and Vector data structures developed in class

  Multiple heaps

Create an application that has two heaps. Place a linked list into each heap. Select one hundred random numbers. Place each of the random numbers into each heap - CSI 345 - Spring 2014 S2

  How a base version of this assignment works

For this assignment you are to create an interactive moving sign in the context of a cityscape street scene. Click the link below to see how a base version of this assignment works. Type a message in the long blank slot at the top left, and then clic..

  C program to randomly generate more than ten ip address

Write C or C++ program which Randomly generates more than 10 IP addresses written in decimal format and write results in text file (e.g. Dec_IPAddresses.txt)

  rewrite that statement in a more readable style.

Give an example statement in C, C++, or Java that is particularly unreadable. Rewrite that statement in a more readable style.

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

  Prepare a linear support vector machine svm

Write a computer program to prepare a Linear Support Vector Machine SVM

  The process function will then need

The process function will then need to find the time the person waited by calling the time function and finding the difference between the start and end timestamps. Save this time to an accumulator so that in the end you can find the average wait tim..

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Write a program that accepts as input, without prompts

Write a program that accepts as input, without prompts, a series of short values, terminated by end of file. The program outputs one line:

  Write a program that inputs a dollar amount to be printed

Write a program that inputs a dollar amount to be printed on a check and then prints the amount in check-protected format with leading asterisks if necessary

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd