?? book.cpp
字號(hào):
#include "book.h"
namespace jixia
{
Book::Book(int IDs,string Names,string Authors,string Prices)
{
ID=IDs;
Name=Names;
Author=Authors;
Price=Prices;
}
ostream& operator<<(ostream &o,Book &b)
{
o<<"ID: "<<b.ID<<endl;
o<<"書名: "<<b.Name<<endl;
o<<"作者: "<<b.Author<<endl;
o<<"價(jià)格: "<<b.Price<<endl;
return o;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -