首页 课程资源 C/C++     /    电子商务系统-超市电商系统-C++

电子商务系统-超市电商系统-C++

上传者: hongzhilong123456 | 上传时间:2024/7/16 7:52:18 | 文件大小:110KB | 文件类型:zip
电子商务系统-超市电商系统-C++
电子商务系统简要介绍北邮大三上学期C++课程设计(2)C++课程设计作业。
实现了超市购物和银行存取款两个部分。
主要使用C++完成,基于Qt的图形化界面,使用SQLite作为数据库,涉及了基本的select、delete等语法。
两个程序(Store和Bank)之间通过Socket通信,使用TCP协议。
数据结构设计了银行账户类account,以及具有继承关系的商品类product以及它的子类们书籍类book、食品类food等等。
数据库为账户信息、商品信息和购物车设置了表accountInfo、productInfo和cart。
通过商品id将productInfo和accountInfo相关联,通过账户名将accountInfo和cart关联起来。
Socket通信使用了Qt内置的类QtTcpSocket,通过在银行设置QTcpServer作为服务器端,在商店设置QTcpSocket作为客户端,当用户购买物品结算时,商店向银行发出请求进行验证,验证成功则银行扣款,商店确认订单。

文件下载

资源详情

[{"title":"(99个子文件110KB)电子商务系统-超市电商系统-C++","children":[{"title":"README.md <span style='color:#111;'>1.25KB</span>","children":null,"spread":false},{"title":"Bank","children":[{"title":"Bank.pro <span style='color:#111;'>985B</span>","children":null,"spread":false},{"title":"logindialog.h <span style='color:#111;'>503B</span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'>11.13KB</span>","children":null,"spread":false},{"title":"withdrawdialog.ui <span style='color:#111;'>4.45KB</span>","children":null,"spread":false},{"title":"Bank.pro.user <span style='color:#111;'>18.19KB</span>","children":null,"spread":false},{"title":"regdialog.h <span style='color:#111;'>447B</span>","children":null,"spread":false},{"title":"editdialog.cpp <span style='color:#111;'>1.97KB</span>","children":null,"spread":false},{"title":"account.h <span style='color:#111;'>1.18KB</span>","children":null,"spread":false},{"title":"configdialog.h <span style='color:#111;'>455B</span>","children":null,"spread":false},{"title":"editdialog.ui <span style='color:#111;'>5.74KB</span>","children":null,"spread":false},{"title":"depositdialog.cpp <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'>2.07KB</span>","children":null,"spread":false},{"title":"account.cpp <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"depositdialog.ui <span style='color:#111;'>4.87KB</span>","children":null,"spread":false},{"title":"logindialog.cpp <span style='color:#111;'>2.87KB</span>","children":null,"spread":false},{"title":"withdrawdialog.cpp <span style='color:#111;'>1.58KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>596B</span>","children":null,"spread":false},{"title":"regdialog.ui <span style='color:#111;'>7.39KB</span>","children":null,"spread":false},{"title":"configdialog.cpp <span style='color:#111;'>947B</span>","children":null,"spread":false},{"title":"regdialog.cpp <span style='color:#111;'>2.58KB</span>","children":null,"spread":false},{"title":"Icon","children":[{"title":"pay-blue-48.png <span style='color:#111;'>15.68KB</span>","children":null,"spread":false},{"title":"deposite-blue-48.png <span style='color:#111;'>16.10KB</span>","children":null,"spread":false},{"title":"deposit-white-48.png <span style='color:#111;'>16.04KB</span>","children":null,"spread":false},{"title":"login-white-48.png <span style='color:#111;'>15.44KB</span>","children":null,"spread":false},{"title":"withdraw-blue-48.png <span style='color:#111;'>16.11KB</span>","children":null,"spread":false},{"title":"useradd-white-48.png <span style='color:#111;'>15.81KB</span>","children":null,"spread":false},{"title":"withdraw-white-48.png <span style='color:#111;'>16.13KB</span>","children":null,"spread":false},{"title":"exit-white-48.png <span style='color:#111;'>15.46KB</span>","children":null,"spread":false},{"title":"config-white-48.png <span style='color:#111;'>15.96KB</span>","children":null,"spread":false}],"spread":false},{"title":"mainwindow.h <span style='color:#111;'>601B</span>","children":null,"spread":false},{"title":"withdrawdialog.h <span style='color:#111;'>447B</span>","children":null,"spread":false},{"title":"editdialog.h <span style='color:#111;'>429B</span>","children":null,"spread":false},{"title":"bankserver.h <span style='color:#111;'>490B</span>","children":null,"spread":false},{"title":"bankserver.cpp <span style='color:#111;'>3.07KB</span>","children":null,"spread":false},{"title":"database.cpp <span style='color:#111;'>1.25KB</span>","children":null,"spread":false},{"title":"depositdialog.h <span style='color:#111;'>445B</span>","children":null,"spread":false},{"title":"configdialog.ui <span style='color:#111;'>2.76KB</span>","children":null,"spread":false},{"title":"icon.qrc <span style='color:#111;'>487B</span>","children":null,"spread":false},{"title":"logindialog.ui <span style='color:#111;'>6.14KB</span>","children":null,"spread":false}],"spread":false},{"title":"Store","children":[{"title":"paydialog.h <span style='color:#111;'>443B</span>","children":null,"spread":false},{"title":"defineres.h <span style='color:#111;'>230B</span>","children":null,"spread":false},{"title":"logindialog.h <span style='color:#111;'>475B</span>","children":null,"spread":false},{"title":"cloth.cpp <span style='color:#111;'>186B</span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'>8.35KB</span>","children":null,"spread":false},{"title":"regdialog.h <span style='color:#111;'>425B</span>","children":null,"spread":false},{"title":"settingdialog.ui <span style='color:#111;'>8.17KB</span>","children":null,"spread":false},{"title":"configdialog.h <span style='color:#111;'>499B</span>","children":null,"spread":false},{"title":"Store.pro <span style='color:#111;'>1.21KB</span>","children":null,"spread":false},{"title":"addcartdialog.cpp <span style='color:#111;'>3.94KB</span>","children":null,"spread":false},{"title":"food.cpp <span style='color:#111;'>182B</span>","children":null,"spread":false},{"title":"product.cpp <span style='color:#111;'>584B</span>","children":null,"spread":false},{"title":"paydialog.cpp <span style='color:#111;'>2.40KB</span>","children":null,"spread":false},{"title":"carteditdialog.h <span style='color:#111;'>496B</span>","children":null,"spread":false},{"title":"type.h <span style='color:#111;'>173B</span>","children":null,"spread":false},{"title":"cartdialog.cpp <span style='color:#111;'>6.67KB</span>","children":null,"spread":false},{"title":"carteditdialog.ui <span style='color:#111;'>8.73KB</span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'>6.44KB</span>","children":null,"spread":false},{"title":"Store.pro.user <span style='color:#111;'>18.19KB</span>","children":null,"spread":false},{"title":"cartdialog.h <span style='color:#111;'>610B</span>","children":null,"spread":false},{"title":"typedefine.h <span style='color:#111;'>66B</span>","children":null,"spread":false},{"title":"carteditdialog.cpp <span style='color:#111;'>2.49KB</span>","children":null,"spread":false},{"title":"paydialog.ui <span style='color:#111;'>6.39KB</span>","children":null,"spread":false},{"title":"logindialog.cpp <span style='color:#111;'>1.97KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>405B</span>","children":null,"spread":false},{"title":"regdialog.ui <span style='color:#111;'>6.04KB</span>","children":null,"spread":false},{"title":"configdialog.cpp <span style='color:#111;'>3.98KB</span>","children":null,"spread":false},{"title":"regdialog.cpp <span style='color:#111;'>2.13KB</span>","children":null,"spread":false},{"title":"Icon","children":[{"title":"electro-32.png <span style='color:#111;'>15.29KB</span>","children":null,"spread":false},{"title":"store-48.png <span style='color:#111;'>15.42KB</span>","children":null,"spread":false},{"title":"addcart-white-48.png <span style='color:#111;'>15.69KB</span>","children":null,"spread":false},{"title":"store-32.png <span style='color:#111;'>15.56KB</span>","children":null,"spread":false},{"title":"pay-white-48.png <span style='color:#111;'>15.66KB</span>","children":null,"spread":false},{"title":"login-white-48.png <span style='color:#111;'>15.44KB</span>","children":null,"spread":false},{"title":"book-32.png <span style='color:#111;'>15.67KB</span>","children":null,"spread":false},{"title":"useradd-white-48.png <span style='color:#111;'>15.81KB</span>","children":null,"spread":false},{"title":"food-32.png <span style='color:#111;'>15.58KB</span>","children":null,"spread":false},{"title":"cloth-32.png <span style='color:#111;'>15.48KB</span>","children":null,"spread":false},{"title":"exit-white-48.png <span style='color:#111;'>15.46KB</span>","children":null,"spread":false},{"title":"cart-white-48.png <span style='color:#111;'>15.52KB</span>","children":null,"spread":false},{"title":"config-white-48.png <span style='color:#111;'>15.96KB</span>","children":null,"spread":false}],"spread":false},{"title":"book.cpp <span style='color:#111;'>184B</span>","children":null,"spread":false},{"title":"addcartdialog.ui <span style='color:#111;'>9.32KB</span>","children":null,"spread":false},{"title":"product.h <span style='color:#111;'>844B</span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'>792B</span>","children":null,"spread":false},{"title":"book.h <span style='color:#111;'>437B</span>","children":null,"spread":false},{"title":"addcartdialog.h <span style='color:#111;'>477B</span>","children":null,"spread":false},{"title":"cloth.h <span style='color:#111;'>585B</span>","children":null,"spread":false},{"title":"electro.cpp <span style='color:#111;'>194B</span>","children":null,"spread":false},{"title":"food.h <span style='color:#111;'>593B</span>","children":null,"spread":false},{"title":"datastruct.h <span style='color:#111;'>431B</span>","children":null,"spread":false},{"title":"cartdialog.ui <span style='color:#111;'>7.02KB</span>","children":null,"spread":false},{"title":"database.cpp <span style='color:#111;'>4.20KB</span>","children":null,"spread":false},{"title":"settingdialog.cpp <span style='color:#111;'>3.67KB</span>","children":null,"spread":false},{"title":"settingdialog.h <span style='color:#111;'>491B</span>","children":null,"spread":false},{"title":"configdialog.ui <span style='color:#111;'>8.32KB</span>","children":null,"spread":false},{"title":"icon.qrc <span style='color:#111;'>628B</span>","children":null,"spread":false},{"title":"electro.h <span style='color:#111;'>619B</span>","children":null,"spread":false},{"title":"logindialog.ui <span style='color:#111;'>6.68KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • weixin_39577298:
    Store中注册账号之后再登陆总提示账户不存在。2018-05-30
  • camustranger:
    Store中注册账号之后再登陆总提示账户不存在。2018-05-30

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明