Patz's Algoritm Journey 最近更新的文章:
First, file I/O in C++. Read the code below:
fin >> n;
getline(fin, line_buffer);
cout << line_buffer << endl;
The result is in line_buffer, there's only a "\n
While making the MiniERP as my work of Data Structure course, I've met such situation many times. E.g., there's a class Item,
class Item
{
string name;
size_t id;