Giter Site home page Giter Site logo

im's Introduction

基于qt c++的一个即时通讯软件


项目说明

这个软件是我大二学期的一个c++课设,ui方面是仿照着pc端的wechat,由于本人不太喜欢c++的语法,所以这个软件更新的速度会很慢。

OO.exe是客户端的安装包,ip地址是我的腾讯云,但是快过期了。

项目功能

账号方面

  • 账号注册

  • 账号登陆

好友方面

  • 添加好友
  • 查询好友
  • 请求好友通知

消息方面

  • 离线消息通知
  • 在线消息

项目展示

客户端方面

  • 软件首页

  • 登陆界面

  • 主页面

  • 聊天界面

客户端方面

技术选型

开发语言: c++ 基础框架: MVC 核心技术:多线程QTcpSocket +多线程QUdpSocket + 数据库连接池 数据库: mysql

重要说明

服务器这边我打算采用的是mvc架构,但是在最后的时候测试bug的时候发现数据库这边不允许主线程和子线程同时访问,考虑到子线程访问次数比较少,所以直接新建了一个类去让子线程直接访问数据库,打破了mvc模式,以后应该会改的。。。大概。。

数据库连接

数据库只有服务端有连接,分别在mysql.cpp和threadmysql.cpp中有连接信息,并没有单独出丑来做一个资源文件,耦合度很高。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.