摘要:
.实验 21:观察者模式 [实验任务一]:股票提醒 当股票的价格上涨或下降5%时,会通知持有该股票的股民,当股民听到价格上涨的消息时会买股票,当价格下降时会大哭一场。 #include<iostream> #include<list> #include<string> using namespace 阅读全文
posted @ 2022-11-02 08:11
Lindseyyip
阅读(34)
评论(0)
推荐(0)
浙公网安备 33010602011771号