这个软件是我大二学期的一个c++课设,ui方面是仿照着pc端的wechat,由于本人不太喜欢c++的语法,所以这个软件更新的速度会很慢。
OO.exe是客户端的安装包,ip地址是我的腾讯云,但是快过期了。[现在已经过期]
账号方面
-
账号注册
-
账号登陆
好友方面
- 添加好友
- 查询好友
- 请求好友通知
消息方面
- 离线消息通知
- 在线消息
客户端方面
- 软件首页
- 登陆界面
- 主页面
- 聊天界面
客户端方面
开发语言: c++ 基础框架: MVC 核心技术:多线程QTcpSocket +多线程QUdpSocket + 数据库连接池 数据库: mysql
服务器这边我打算采用的是mvc架构,但是在最后的时候测试bug的时候发现数据库这边不允许主线程和子线程同时访问,考虑到子线程访问次数比较少,所以直接新建了一个类去让子线程直接访问数据库,打破了mvc模式,以后应该会改的。。。大概。。
数据库只有服务端有连接,分别在mysql.cpp和threadmysql.cpp中有连接信息,并没有单独出丑来做一个资源文件,耦合度很高。