#include "PokemonCard.h" #include #include #include using std::endl; std::ostream& operator << (std::ostream& output, const PokemonCard& card) { output << "name: " << card.name << " (" << card.id << ")" << endl; output << "HP: " << std::fixed << std::setprecision(2) << card.hp << endl; output << "market value: " << card.value << endl; output << "attacks: " << endl; for (std::string attack : card.attacks) output << "\t" << attack << endl; return output; } PokemonCard::PokemonCard() { } PokemonCard::~PokemonCard() { } void PokemonCard::fetch_market_value() { }