final_project/Interface.cpp
// edit assignment score (supposed to also edit comments but that doesn't work)

edit assignment score (supposed to also edit comments but that doesn't work)
edit assignment score ( supposed to also edit comments but that doesn ' t work )
void edit_grade(Grade& grade){
        std::cout << "Editing \"" << grade.get_title() << "\"...\n";
        std::string name;
        double max_score, score;
        collect_grade_data(name, max_score, score);
        grade.set_score(score);
    }
void edit_grade ( Grade & grade ) { std :: cout << " \" " << grade . get_title ( ) << " \" \n " ; std :: string name ; double max_score , score ; collect_grade_data ( name , max_score , score ) ; grade . set_score ( score ) ; }
edit assignment score (supposed to also edit comments but that doesn't work)
edit assignment score ( supposed to also edit comments but that doesn ' t work )
// B R O K E N! How does anyone do EOF stuff in C++?
 /*std::cout << "Enter comments (CTRL+D to finish): ";
        std::std::vector<std::string>& comments = grade.get_comments();

        while(!(std::cin >> std::ws).eof()){
            std::string comment;
            std::cin >> comment;
            if (std::cin.fail()){ break; } // just exit silently
            comments.push_back(comment);
        }
        std::cin.clear();
        std::cin.ignore(std::numeric_limits<std::streamsize>::max());*/