11 2024 档案
摘要:创建 users 表(用户信息表) 假设我们要记录用户的基本信息,如用户 ID、姓名、电子邮件、联系电话、注册日期等。 sql-- 在数据库 'weather' 中创建一个名为 'users' 的表 USE weather; CREATE TABLE users ( id INT AUTO_INCR
阅读全文
摘要:线程 1.1 线程概述 1.2 线程常用API 线程方法使用 创建线程 #include <pthread.h> int pthread_create(pthread_t *restrict tidp, const pthread_attr_t *restrict attr, void *(*sta
阅读全文