修复类型判定导致死循环的bug
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -37,7 +37,7 @@ int main() {
|
|||||||
int choice;
|
int choice;
|
||||||
std::string name;
|
std::string name;
|
||||||
double price;
|
double price;
|
||||||
bool type;
|
int type;
|
||||||
std::string expirationDate;// 过期日期
|
std::string expirationDate;// 过期日期
|
||||||
std::string msgboxTitle, msgboxContent;// 消息框标题和内容
|
std::string msgboxTitle, msgboxContent;// 消息框标题和内容
|
||||||
displayMenu();
|
displayMenu();
|
||||||
|
|||||||
Reference in New Issue
Block a user