![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
恒月美剑
e
展开
-
读写二进制文件
#include #include #include #include #include using namespace std; /* * */ inline void eatline() {while(cin.get() != '\n') continue;} struct planet{ char name[20]; double population;原创 2012-03-24 23:26:25 · 360 阅读 · 0 评论 -
Vector模板常见操作
#include #include #include 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(原创 2012-03-18 09:03:23 · 426 阅读 · 0 评论