您正在预览频道:

Patz's Algoritm Journey

(已有0人订阅)

Patz's Algoritm Journey 最近更新的文章:

File I/O In C++ And LinkedList In Java

Patz

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

Method of Comparing Object

Patz

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;

© 1998 - 2009 Tencent Inc. All Rights Reserved