# honghu_0102_socket **Repository Path**: red-ears/honghu_0102_socket ## Basic Information - **Project Name**: honghu_0102_socket - **Description**: No description available - **Primary Language**: C/C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-11 - **Last Updated**: 2025-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```c++ (1)windows开发客户端 克隆代码 git clone https://gitee.com/red-ears/honghu_0102_socket.git 使用qt-creator打开xxx.pro文件项目 (2)linux开发服务端 a、cmake --version 安装cmake sudo apt install cmake b、git --version 安装GIT sudo apt install git c、配置用户名和邮箱 git config --global user.name "lxd" git config --global user.email "704943031@qq.com" d、生成公钥 ssh-keygen e、克隆代码 git clone https://gitee.com/red-ears/honghu_0102_socket.git f、打开工程 在windows上使用vscode远程连接linux,打开server目录,并配置为cmake项目 (3)vscode中配置格式化工具 1) 安装插件clang-format 2) linux: sudo apt install clang-format 3) 在当前工程中创建一个.clang-format文件,然后增加配置项 (4)mysql配置 linux上安装mysql windows【heidisql】远程连接linux上的mysql (5)数据库创建一个表 库名:student_manage_system 表名:t_student 字段 id 主键 自动增加 name age sex score detail 表名:t_user 字段 id 主键 自动增加 name password 写四个sql语句: 增 删 改 查 ```