diff options
Diffstat (limited to 'oop2eindopdr/main.cpp')
-rw-r--r-- | oop2eindopdr/main.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/oop2eindopdr/main.cpp b/oop2eindopdr/main.cpp index 873e273..4cd99ec 100644 --- a/oop2eindopdr/main.cpp +++ b/oop2eindopdr/main.cpp @@ -1,7 +1,6 @@ #include <cstdlib> #include <iostream> -#include "main.h" #include "Pokedex.h" #include "PokemonCard.h" @@ -17,7 +16,7 @@ int interactive_mode() { std::string search_query; for(;;) { - cout << "card id?: "; + cout << "card id or name?: "; if (!std::getline(cin, search_query)) break; std::vector<PokemonCard*> cards = g_pokedex->search_cards_by_id(search_query); @@ -51,12 +50,6 @@ int export_mode(int argc, char** argv) { } int main(int argc, char** argv) { - // PokemonTCGAPIClient api_client_test; - // std::vector<std::string> sets = api_client_test.get_sets(); - // for (auto s : sets) - // cout << s << endl; - - // return EXIT_SUCCESS; g_pokedex = new Pokedex(); if (argc == 1) { // no arguments specified |