Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need in C++ Having the Players in an array on the HEAP CSCI 24000 Fall 2017 Assignment #3 Class-y Players Due: 10/9/2017 This third assignment

image text in transcribedimage text in transcribedNeed in C++ Having the Players in an array on the HEAP

CSCI 24000 Fall 2017 Assignment #3 Class-y Players Due: 10/9/2017 This third assignment will allow you to explore (by comparing and contrasting through construction and implementation) two different object-oriented programming languages (C++ and Java). You will be creating two separate programs - one written in C++ and one written in Java. For this assignment, we are going to explore how we can use objects to build more expressive and cleaner programs. In honor of football season re are going to be creating Players for our IUPUI football team (Undefeated since 1969). We w need to create and store these players in memory and allow the user to view an entire roster of Players. We will make the following assumptions: No two Players will have the same name (eg, #1 Test Testerson, #2 Test Testerson) No two Players can have the same number (eg, #1 Jane Testerson, #2 Jane Testerson) Each Player MUST have at-least a first name, last name, and jersey number In the basic submission there will only be, at maximum, eleven (11) Players on our team. Your goal is to create a program that will allow for creation and viewing of Players from our team. Development Process: For this assignmentall development must take place on the master branch in a private GitHub repository. You must add me and all four (4) TAs as collaborators to your repository. It is strongly recommended that you commit and push often! We will be checking to make sure that you are actively pushing changes to your repository failure to do so will result in a deduction of points. We will also be checking that you are providing useful comments with your commits failure to do so will result in a deduction of points. You are also required to include the Honor Pledge and Digital Signature in each one of your files (any file that you have written "code" in - you need to include the Honor Pledge and Digital Signature) You are required to implement the following items as part of this assignment: Your C ++ program must contain three files (2 .cpp and 1 .h file). These files should be named as such: Driver.cpp, Player.cpp, Player.h Your Java program must contain the following two files: Driver.java and Player.ja Your Driver class must store any and all created players in an array on the Heap. This Array must make use of dynamic memory allocation. In the C ++ version we will need to manage our memory accordingly no memory leaks! You can use Valgrind to check our program for memory leaks any leaks in memory will result in a deduction of points. When you start the program, you should provide the user with a menu choice to do one of the following: 1. Add New Player 2. View Players 3. Exit Program Upon completion of Options #1 or #2 the menu should once again be displayed to the user thus allowing them to make another selection. This process should continue to loop until the user selections Option #3. Once If eleven (11Players have been entered the program should print the roster and terminate. CSCI 24000 Fall 2017 Assignment #3 Class-y Players Due: 10/9/2017 This third assignment will allow you to explore (by comparing and contrasting through construction and implementation) two different object-oriented programming languages (C++ and Java). You will be creating two separate programs - one written in C++ and one written in Java. For this assignment, we are going to explore how we can use objects to build more expressive and cleaner programs. In honor of football season re are going to be creating Players for our IUPUI football team (Undefeated since 1969). We w need to create and store these players in memory and allow the user to view an entire roster of Players. We will make the following assumptions: No two Players will have the same name (eg, #1 Test Testerson, #2 Test Testerson) No two Players can have the same number (eg, #1 Jane Testerson, #2 Jane Testerson) Each Player MUST have at-least a first name, last name, and jersey number In the basic submission there will only be, at maximum, eleven (11) Players on our team. Your goal is to create a program that will allow for creation and viewing of Players from our team. Development Process: For this assignmentall development must take place on the master branch in a private GitHub repository. You must add me and all four (4) TAs as collaborators to your repository. It is strongly recommended that you commit and push often! We will be checking to make sure that you are actively pushing changes to your repository failure to do so will result in a deduction of points. We will also be checking that you are providing useful comments with your commits failure to do so will result in a deduction of points. You are also required to include the Honor Pledge and Digital Signature in each one of your files (any file that you have written "code" in - you need to include the Honor Pledge and Digital Signature) You are required to implement the following items as part of this assignment: Your C ++ program must contain three files (2 .cpp and 1 .h file). These files should be named as such: Driver.cpp, Player.cpp, Player.h Your Java program must contain the following two files: Driver.java and Player.ja Your Driver class must store any and all created players in an array on the Heap. This Array must make use of dynamic memory allocation. In the C ++ version we will need to manage our memory accordingly no memory leaks! You can use Valgrind to check our program for memory leaks any leaks in memory will result in a deduction of points. When you start the program, you should provide the user with a menu choice to do one of the following: 1. Add New Player 2. View Players 3. Exit Program Upon completion of Options #1 or #2 the menu should once again be displayed to the user thus allowing them to make another selection. This process should continue to loop until the user selections Option #3. Once If eleven (11Players have been entered the program should print the roster and terminate

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions

Question

=+ f. instituting laws against driving while intoxicated

Answered: 1 week ago