Skip to content
Snippets Groups Projects
Select Git revision
  • 7ab6a749264491e117529c08c040d54a78e877c5
  • master default protected
  • tr
  • Thomas
  • letzgus-master-patch-88183
  • eray
  • david
  • artem
  • Benedikt
  • 346
10 results

main.cpp

Blame
  • Forked from Eray Düzenli / magicCards
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    main.cpp 915 B
    #include <iostream>
    #include "aufgabe1.h"
    #include "Cards.h"
    #include "functions.h"
    
    int main() {
        /*
        std::cout << "Info 3 Projekt Nr.1" << std::endl;
        levenshteinDistance("kitten", "sitting");
        levenshteinDistance("industry", "interests");
        levenshteinDistance("abcdef", "ghijkl");
        levenshteinDistance("hello", "hallo");
        levenshteinDistance("s", "");
        levenshteinDistance("", "s");
        Cards s;
        s.cmc = 210;
        s.count  = "sf";
        s.name = "peter";
        s.type = "uwu";
        std::cout << s.name << s.count << s.type << s.cmc << std::endl;
         */
        std::list<Cards> test;
    
        //TODO relative path doesnt work
        test = getListOfCards("/Users/erayduzenli/CLionProjects/magicCards/scrambled.txt");
        //TODO why does it save the file in the debug folder
        saveCardsToFile(test);
        referenceNames("/Users/erayduzenli/CLionProjects/magicCards/reference.txt");
    
    
        return 0;
    }