📄 productitem.cpp.html
字号:
<html>
<head>
<title>productitem.cpp</title>
</head>
<body>
<pre> 1 #include "productitem.h"
2
3 ProductItem::ProductItem(const Product& p, int q)
4 : prod(p)
5 {
6 quantity = q;
7 }
8
9 double ProductItem::get_unit_price() const
10 {
11 return prod.get_price();
12 }
13
14 string ProductItem::get_description() const
15 {
16 return prod.get_description();
17 }</pre>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -