hw05 2380
hw05 2380
Gustavo Dietrich
4. A text file (pokedex.txt) containing a list of all normal, fighting, flying, and poison
Pokemon, one per line, in the summary string format described in pokemon.h.
CSCI 2380 Spring 2024 Mr. Gustavo Dietrich
Create new C++ source files named pokemon.cpp1 and pokedex.cpp that implement the
classes declared in pokemon.h and pokedex.h, respectively, so that pokemon.cpp,
pokedex.cpp, and the provided files compile into a program that runs with no failed tests.
Submit just the source code of pokemon.cpp and pokedex.cpp. You don't need to submit
the main.cpp nor the header files because I will use my own pokemon.h, pokedex.h, and
main.cpp files to evaluate your pokemon.cpp and pokedex.cpp files.
Review the examples discussed in class and the textbook to get an idea of what you need
to do. Analyze carefully the tests because that will help you understand how the methods
that you need to create work.
IMPORTANT:
Make sure your program compiles and executes in full (it should pass all the tests
included in main()).
You must submit ONLY ONE solution per team.
Your program must be well commented, use meaningful identifiers, and use indentation
to improve its readability.
//***********************************************************************
// Team # CSCI 2380 Spring 2024 Homework # 5
// First and Last Name
// First and Last Name
//
//***********************************************************************
When done, submit your solution through Blackboard using the “Assignments” tool. Do
Not email it.
Paste the link to your final solution along with your source code in the textbox opened
when you click on Create Submission before you click on Submit.
1
Use your solution for homework 1 as a starting point.
CSCI 2380 Spring 2024 Mr. Gustavo Dietrich
You start with 100 points and then lose points as you don't do something that is required.