摘要: #include <iostream> #include <string> #include <vector> struct Review{ std::string title; int rating; }; bool FillReview(Review &rr) { std::cout<<"Enter book title (quit to quit): "; std::getline(std::cin,rr.title); if(rr.title == "quit") return false; 阅读全文
posted @ 2012-03-18 09:03 恒月美剑 阅读(307) 评论(0) 推荐(0) 编辑