使用GTK+2.0、sqlite3数据库、c语言 的简易的学生管理系统

实现了基本的增删查改

效果图:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAf0AAAFNCAYAAAAKBrb9AAAABHNCSVQICAgIfAhkiAAAABl0RVh0U29mdHdhcmUAZ25vbWUtc2NyZWVuc2hvdO8Dvz4AACAASURBVHic7N13fBR1/sfx15Tt6YUQCBA6oStNRawginp66tmwd7H3it5ZseGdXU89e/2hoqLYK6KgAooUqRJ6SN9snZnv748kkApBgSTk8/QRSWZ2Zr87s7vv+X7nO9/R9hoxRAGoyv9v/tdxFPF4jPT0VNJSkzFdJkIIIYRoWay4RWFxCUWFJbhcbnRdAzQ0jRr/gqZpmFA/8GMxi4z0ZNq1S8flMjAMo1leiBBCCCG2wechEPCSnZXJxo2FbCosxe02UUpD01TVv5VZb9av4Ru0z2lHZoofXdexLIdYLNa8L0gIIYQQjdJ1HZfLJDs7EwWUlgbRdeoEv8KsGfhKgeXJIDXBDUA0Gm/O1yCEEEKIJrBtG9u2cbkM2mWmUVBQhMfjqRX4SmmYhgaWqgp+LUB2hgtd14nFrOZ+DUIIIYTYDrGYhWkapKUmUxEKbwl8NDQU5v6ddD5daQMKknvgNzZi2xqqsvovhBBCiFbEth2SkxMIVoS31PRRoGmYn/1RGfhKQXLnTmglG1HKae4yCyGEEK1CNBYnFIoQjcaw7cr8NA0Nt8dDwO/F7Xbt0vUp5eByuVAoqKrpg7alI19lnV6R0S4Fq7jycj0h2izHIhyJE3MMEhLcyLUrQoiGWLZNcUkZuu6id6+eZGe3x+f3AxAOhVi3bh2Lf1+KsoOkpiZhGHqT1hfQDY7u1ZE92qeS4fcAsCkUZc66Yj5YsoZS29nq+pSisrVeAVVN+5UV/aqOfKjKByX4FcVKSdO+aF2UQzzuoLlMTO0vrsuxCFsB2nXtTE5CKfPnrcYK7MDg35FlFU0j21zsBLF4nKKiMvr27Ue/fnko5WDbNo5TWTMPBPz07t2LvLw+zP91AQsWLiA9LQmXq+Faeu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xT6IiIiHqHQFxER8QiFvoiIiEco9EVERDxCoS8iIuIRCn0RERGPUOiLiIh4hEJfRETEIxT6IiIiHqHQFxER8QiFvoiIiEdYgGnogxAREZHvn1r6IiIiHqHQFxER8Yj/B6EJdR2CdviuAAAAAElFTkSuQmCC" alt="" />

代码:

 #include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "sqlite3.h" GtkWidget *entry11 = NULL;
GtkWidget *entry22 = NULL;
GtkWidget *entry33 = NULL;
sqlite3 *db = NULL; //回调 void callback_1(GtkButton *button,gpointer user_data)
{ char **resultp ;
int nrow;
int ncolumn;
const char * entry_1;
const char * entry_2;
char sql[];
entry_1 = gtk_entry_get_text(GTK_ENTRY(entry11));
entry_2 = gtk_entry_get_text(GTK_ENTRY(entry22));
sprintf(sql,"select * from root_info where user_name = '%s' and password = '%s';",entry_1,entry_2);
printf("%s \n",sql);
int result = ;
char *errmsg = NULL;
result = sqlite3_open("test.db",&db);
if(result!=SQLITE_OK)
{
printf("open error\n");
return -;
}
else printf("succes\n");
sqlite3_get_table(db,sql,&resultp,&nrow,&ncolumn,&errmsg);
printf("%d\n",nrow);
printf("%d\n",ncolumn);
//int q1=nrow;
//int q2=ncolumn; //if(q1 == 1 && q2 == 2)
if(nrow == && ncolumn ==)
//if(nrow ==1 && ncolumn ==2)
{
printf("====%d\n",nrow);
printf("====%d\n",ncolumn);
gtk_widget_hide_all(user_data);
menu();
printf("登陆\n");
sqlite3_close(db);
}
else
{ printf("%d\n",nrow);
printf("%d\n",ncolumn);
printf("登陆失败");
login_warning(); sqlite3_close(db);
} }
void callback_2(GtkButton *button,gpointer user_data)
{
insert_view(); }
void callback_3(GtkButton *button,gpointer user_data)
{
select_view(); }
void callback_5(GtkButton *button,gpointer user_data)
{
update_view(); }
void callback_4(GtkButton *button,gpointer user_data)
{
delete_view(); } void callback_insert(GtkButton *button,gpointer user_data)
{
printf("insert\n");
const char * entry_1;
const char * entry_2;
const char * entry_3;
char sql[];
entry_1 = gtk_entry_get_text(GTK_ENTRY(entry11));
entry_2 = gtk_entry_get_text(GTK_ENTRY(entry22));
entry_3 = gtk_entry_get_text(GTK_ENTRY(entry33));
int n = atoi(entry_1);
int j = atoi(entry_3);
sprintf(sql,"insert into user_info values(%d,'%s',%d);",n,entry_2,j);
printf("%s \n",sql);
int result = ;
char *errmsg = NULL;
result = sqlite3_open("test.db",&db);
if(result!=SQLITE_OK)
{
printf("open error\n");
return -;
}
else printf("succes");
int ret=sqlite3_exec(db,sql,NULL,NULL,&errmsg);
if(ret == SQLITE_OK)
{
printf("录入成功\n");
}
sqlite3_close(db);
}
void callback_delete(GtkButton *button,gpointer user_data)
{ const char * entry_1;
char sql[];
entry_1 = gtk_entry_get_text(GTK_ENTRY(entry11));
int n =atoi(entry_1);
sprintf(sql,"delete from user_info where id = %d;",n);
printf("%s\n",sql);
int result = ;
char *errmsg = NULL;
result = sqlite3_open("test.db",&db);
if(result!=SQLITE_OK)
{
printf("open error\n");
return -;
}
else printf("succes");
int ret=sqlite3_exec(db,sql,NULL,NULL,&errmsg);
if(ret == SQLITE_OK)
{
printf("删除成功\n");
}
sqlite3_close(db); }
void callback_update(GtkButton *button,gpointer user_data)
{ const char * entry_1;
const char * entry_2;
const char * entry_3;
char sql[];
entry_1 = gtk_entry_get_text(GTK_ENTRY(entry11));
entry_2 = gtk_entry_get_text(GTK_ENTRY(entry22));
entry_3 = gtk_entry_get_text(GTK_ENTRY(entry33));
int n = atoi(entry_1);
int j = atoi(entry_3);
sprintf(sql,"update user_info set grade = %d,name = '%s' where id =%d ;",j,entry_2,n);
printf("%s \n",sql);
int result = ;
char *errmsg = NULL;
result = sqlite3_open("test.db",&db);
if(result!=SQLITE_OK)
{
printf("open error\n");
return -;
}
else printf("succes");
int ret=sqlite3_exec(db,sql,NULL,NULL,&errmsg);
if(ret == SQLITE_OK)
{
printf("更新成功\n");
}
sqlite3_close(db);
}
int result_find(void *para,int ncolumn,char ** columnvalue,char *columnname[])
{
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
GtkWidget *table = gtk_table_new(, , TRUE);
gtk_widget_set_size_request(window,,);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System");
gtk_container_add(GTK_CONTAINER(window), table); int i;
char nlable[]; GtkWidget *label_1;
GtkWidget *label_2;
for(i = ;i < ncolumn; i++)
{
label_1 = gtk_label_new("123 ");
gtk_label_set_text(GTK_LABEL(label_1),columnname[i] );
gtk_table_attach_defaults(GTK_TABLE(table),label_1, ,, i+, i+);
label_2 = gtk_label_new("123 ");
gtk_label_set_text(GTK_LABEL(label_2),columnvalue[i]);
gtk_table_attach_defaults(GTK_TABLE(table),label_2, ,, i+, i+); } g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main(); return ; }
void callback_select_view(GtkButton *button,gpointer user_data)
{
const char * entry_1;
char sql[];
entry_1 = gtk_entry_get_text(GTK_ENTRY(entry11));
int n =atoi(entry_1);
sprintf(sql,"select * from user_info where id = %d;",n);
printf("%s\n",sql);
int result = ;
char *errmsg = NULL;
result = sqlite3_open("test.db",&db);
if(result!=SQLITE_OK)
{
printf("open error\n");
return -;
}
else printf("succes");
int ret=sqlite3_exec(db,sql,result_find,NULL,&errmsg);
if(ret == SQLITE_OK)
{
printf("查询成功\n");
}
sqlite3_close(db);
//select_result_view(); }
int main()
{ gtk_init(&argc,&argv);
login();
return ;
} void login(int argc,char *argv[])
{ GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System");
GtkWidget *table = gtk_table_new(,,TRUE);
gtk_widget_set_size_request(window,,);
gtk_window_set_resizable(GTK_WINDOW(window), FALSE); GtkWidget *label1 = gtk_label_new("学 生 管 理 系 统");
GtkWidget *label2 = gtk_label_new("版本:awsl 1.0");
GtkWidget *label3 = gtk_label_new("user");
GtkWidget *label4 = gtk_label_new("password"); entry11 = gtk_entry_new();
entry22 = gtk_entry_new();
GtkWidget *button1 = gtk_button_new_with_label("登陆"); gtk_entry_set_text(GTK_ENTRY(entry11),"请输入用户名");
gtk_entry_set_text(GTK_ENTRY(entry22),"请输入密码");
gtk_entry_set_visibility(GTK_ENTRY(entry22),FALSE); gtk_container_add(GTK_CONTAINER(window),table);
gtk_table_attach_defaults(GTK_TABLE(table),label1,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label3,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label4,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label2,,,,); gtk_table_attach_defaults(GTK_TABLE(table),entry11,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),entry22,,,,); gtk_table_attach_defaults(GTK_TABLE(table),button1,,,,); g_signal_connect(button1,"pressed",G_CALLBACK(callback_1),window); g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main();
}
void menu(int argc,char *argv[])
{ GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
GtkWidget *table = gtk_table_new(,,TRUE);
gtk_widget_set_size_request(window,,);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System"); GtkWidget *label1 = gtk_label_new("功能列表");
GtkWidget *label2 = gtk_label_new("版本:awsl 1.0");
//GtkWidget *label3 = gtk_label_new("haha"); GtkWidget *button2 = gtk_button_new_with_label("增添学生信息");
GtkWidget *button3 = gtk_button_new_with_label("查询学生信息");
GtkWidget *button4 = gtk_button_new_with_label("删除学生信息");
GtkWidget *button5 = gtk_button_new_with_label("更新学生信息"); gtk_container_add(GTK_CONTAINER(window),table);
gtk_table_attach_defaults(GTK_TABLE(table),label1,,,,);
//gtk_table_attach_defaults(GTK_TABLE(table),label3,1,7,1,7); gtk_table_attach_defaults(GTK_TABLE(table),button2,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),button3,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),button4,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),button5,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label2,,,,); g_signal_connect(button2,"pressed",G_CALLBACK(callback_2),window);
g_signal_connect(button3,"clicked",G_CALLBACK(callback_3),window);
g_signal_connect(button4,"clicked",G_CALLBACK(callback_4),window);
g_signal_connect(button5,"clicked",G_CALLBACK(callback_5),window); g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main();
}
//添加
void insert_view(int argc,char *argv[])
{
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
GtkWidget *table = gtk_table_new(,,TRUE);
gtk_widget_set_size_request(window,,);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System");
gtk_window_set_resizable(GTK_WINDOW(window), FALSE); entry11 = gtk_entry_new();
entry22 = gtk_entry_new();
entry33 = gtk_entry_new(); //GtkWidget entry_s [4] = {entry1,entry2,entry3}; gtk_entry_set_text(GTK_ENTRY(entry11),"");
gtk_entry_set_text(GTK_ENTRY(entry22),"ayao");
gtk_entry_set_text(GTK_ENTRY(entry33),""); GtkWidget *label1 = gtk_label_new("id");
GtkWidget *label2 = gtk_label_new("name");
GtkWidget *label3 = gtk_label_new("grade");
GtkWidget *label4 = gtk_label_new("输入添加信息");
GtkWidget *label5 = gtk_label_new("awsl 1.0"); GtkWidget *button1 = gtk_button_new_with_label("提交"); gtk_container_add(GTK_CONTAINER(window),table);
gtk_table_attach_defaults(GTK_TABLE(table),label4,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label1,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label2,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label3,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label5,,,,); gtk_table_attach_defaults(GTK_TABLE(table),entry11,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),entry22,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),entry33,,,,); gtk_table_attach_defaults(GTK_TABLE(table),button1,,,,); g_signal_connect(button1,"pressed",G_CALLBACK(callback_insert),window); g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main(); }
//删除
void delete_view(int argc,char *argv[])
{
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
GtkWidget *table = gtk_table_new(,,TRUE);
gtk_widget_set_size_request(window,,);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System");
gtk_window_set_resizable(GTK_WINDOW(window), FALSE); entry11 = gtk_entry_new();
gtk_entry_set_text(GTK_ENTRY(entry11),""); GtkWidget *label1 = gtk_label_new("id");
GtkWidget *label2 = gtk_label_new("输入要删除人的id");
GtkWidget *label3 = gtk_label_new("awsl 1.0"); GtkWidget *button1 = gtk_button_new_with_label("提交"); gtk_container_add(GTK_CONTAINER(window),table);
gtk_table_attach_defaults(GTK_TABLE(table),label2,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label1,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label3,,,,); gtk_table_attach_defaults(GTK_TABLE(table),entry11,,,,); gtk_table_attach_defaults(GTK_TABLE(table),button1,,,,); g_signal_connect(button1,"clicked",G_CALLBACK(callback_delete),window); g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main();
}
//更新
void update_view(int argc,char *argv[])
{
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
GtkWidget *table = gtk_table_new(,,TRUE);
gtk_widget_set_size_request(window,,);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System");
gtk_window_set_resizable(GTK_WINDOW(window), FALSE); entry11 = gtk_entry_new();
entry22 = gtk_entry_new();
entry33 = gtk_entry_new(); gtk_entry_set_text(GTK_ENTRY(entry11),"");
gtk_entry_set_text(GTK_ENTRY(entry22),"ayao");
gtk_entry_set_text(GTK_ENTRY(entry33),""); GtkWidget *label1 = gtk_label_new("id");
GtkWidget *label2 = gtk_label_new("name");
GtkWidget *label3 = gtk_label_new("grade");
GtkWidget *label4 = gtk_label_new("输入更新信息");
GtkWidget *label5 = gtk_label_new("awsl 1.0"); GtkWidget *button1 = gtk_button_new_with_label("提交"); gtk_container_add(GTK_CONTAINER(window),table);
gtk_table_attach_defaults(GTK_TABLE(table),label4,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label1,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label2,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label3,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label5,,,,); gtk_table_attach_defaults(GTK_TABLE(table),entry11,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),entry22,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),entry33,,,,); gtk_table_attach_defaults(GTK_TABLE(table),button1,,,,); g_signal_connect(button1,"clicked",G_CALLBACK(callback_update),window); g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main(); }
//查询
select_view(int argc,char *argv[])
{
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
GtkWidget *table = gtk_table_new(,,TRUE);
gtk_widget_set_size_request(window,,);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System");
gtk_window_set_resizable(GTK_WINDOW(window), FALSE); entry11 = gtk_entry_new();
gtk_entry_set_text(GTK_ENTRY(entry11),""); GtkWidget *label1 = gtk_label_new("id");
GtkWidget *label2 = gtk_label_new("输入要查询人的id");
GtkWidget *label3 = gtk_label_new("awsl 1.0"); GtkWidget *button1 = gtk_button_new_with_label("查询"); gtk_container_add(GTK_CONTAINER(window),table);
gtk_table_attach_defaults(GTK_TABLE(table),label2,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label1,,,,);
gtk_table_attach_defaults(GTK_TABLE(table),label3,,,,); gtk_table_attach_defaults(GTK_TABLE(table),entry11,,,,); gtk_table_attach_defaults(GTK_TABLE(table),button1,,,,); g_signal_connect(button1,"clicked",G_CALLBACK(callback_select_view),window); g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main();
}
//提示
login_warning(int argc,char *argv[])
{
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_set_size_request(window,,);
gtk_window_set_title(GTK_WINDOW(window), "Student Manger System");
gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
GtkWidget *label = gtk_label_new("用户名或者密码错误!");
gtk_container_add(GTK_CONTAINER(window),label);
g_signal_connect(window,"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(window);
gtk_main();
}

ubuntu 下 使用GTK+、sqlite3、c语言的学生系统的更多相关文章

  1. Ubuntu下安装GTK的三种方法

    我利用此方法成功在UBUNTU 10.04下安装GTK 2.20.1. 一.安装 1.安装gcc/g++/gdb/make 等基本编程工具 $sudo apt-get install build-es ...

  2. ubuntu下安装GTK过程

    GTK的安装过程比较繁琐,以前也安装过,但没有记录下来,Google一下记录下来备用. 利用此方法成功在ubuntu12.04下安装GTK 2.24.10 1.安装gcc/g++/gdb/make 等 ...

  3. ubuntu下安装和更新R语言

    R官网更新说明 https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/linux/ubuntu/README.html 本文主要讲解在ubuntu下如何安装和更新 ...

  4. Ubuntu下安装GTK环境

    要生成C图形界面的程序,得安装GTK环境     安装GTK环境只要安装一个gnome-core-devel就可以了,里面集成了很多其他的包.除此之外还要转一些其他的  东西,如libglib2.0 ...

  5. Ubuntu下终端Vim编写C语言程序 AAAAA

    我是开虚拟机下的Ubuntu,装双系统又卸了,Ubuntu默认是不包含编辑器vim和编译器gcc.如果你是刚安装好的Ubuntu电脑,下面我们将来实现自己的第一个程序. 1.准备工作 首先进入root ...

  6. ubuntu下搭建gtk+编程环境

    首先gtk+项目主页为: http://www.gtk.org/ gtk+现在有2和3两种版本,使用 sudo apt-get install gnome-core-devel 可以一次性安装2个版本 ...

  7. ubuntu下的时间设定(硬件时间,系统时间,本地时间)

    问题的来由是在这里: 在cron里设定任务是在凌晨6点执行,检查日志时发现时间总是不对,是在22点左右的时间执行的.研究发现,任务是在本地时间的6点执行了,但不知为什么syslog中的时间都是为utc ...

  8. Ubuntu下查看linux版本,内核版本,系统位数,gcc版本

    1. 查看linux版本  sunny@ubuntu:~$cat /etc/issueUbuntu 11.04 \n \l 2. 查看内核版本1) sunny@ubuntu:~$ cat /proc/ ...

  9. 第五篇-ubuntu下插入U盘,显示可读系统。

    如果插上U盘,发现里面的文件都上了锁,显示可读.并且在其它电脑上存在同样的情况. 可是尝试按shift键插入U盘.

随机推荐

  1. RocketMQ 源码分析之路由中心(NameServer)

    你可能没有看过 RocketMQ 的架构图,没关系,一起来学习一下,RocketMQ 架构图如下: 在 RocketMQ 中,有四个角色: Producer:消息的生产者,每个 MQ 中间件都有. C ...

  2. CSS超链接样式,去除下划线等

    控制超链接样式 链接的四种状态: a:link - 普通的.未被访问的链接 a:visited - 用户已访问的链接 a:hover - 鼠标指针位于链接的上方 a:active - 链接被点击的时刻 ...

  3. 计算机网络学习笔记NO.2 物理层

    2.1 基本概念 2.1.1 物理层概念 物理层解决如何在连接各种计算机的传输媒体上传输数据比特流,而不是指具体的传输媒体. 物理层主要任务:确定与传输媒体接口有关的一些特性(定义标准) 机械特性:定 ...

  4. 使用css动画实现领积分效果

    最近项目中要做一个领积分的效果,根据老板的描述,这个效果类似于支付宝蚂蚁森林里的领取能量.整体效果是就是在树周围飘着几个积分元素,上下滑动,类似星星闪烁,点击领取后,沿着树中心的位置滑动并消失,树上的 ...

  5. IO操作与IO模型

    目录 一 .IO操作本质 二. IO模型 BIO – 阻塞模式I/O NIO – 非阻塞模式I/O IO Multiplexing - I/O多路复用模型 AIO – 异步I/O模型 三.同步I/O与 ...

  6. DevEco Toolkit使用指南--平行视界

      高效开发和创新业务是开发者一直追求的目标,当接到开发需求时,如果可以找到现成的API调用,能为开发者节省大把时间,将会留有更多的时间进行业务的创新.华为DevEcoToolkit聚合了华为丰富的开 ...

  7. Java团队课程设计——基于学院的搜索引擎

    团队名称.团队成员介绍.任务分配,团队成员课程设计博客链接 姓名 成员介绍 任务分配 课程设计博客地址 谢晓淞(组长) 团队输出主力 爬虫功能实现,Web前端设计及其后端衔接 爬虫:https://w ...

  8. Python实战---制作专属有声小说(调用百度语音合成接口)

    这一次的目标是使用百度云的人工智能接口,实现文字转语音的实时转换,将小说文字转换成语音朗读出来. 百度云接口调用 百度的这个接口对于我们普通用户非常友好,他的很多功能都是免费的,而且我们每天可以免费调 ...

  9. lambda表达式,及lambda简化过程

    lambda表达式(jdk8特性) 1.为什么要用lambda表达式 原因:因为我们有时候需要用到很多类,但是,这些类我们只用一次或者两次,所以我们用匿名内部类,但是匿名内部类多了还是很麻烦,所以用l ...

  10. AJ学IOS 之二维码学习,快速生成二维码

    AJ分享,必须精品 二维码是一项项目中可能会用到的,iOS打开相机索取二维码的速度可不是Android能比的...(Android扫描二维码要来回来回晃...) 简单不多说,如何把一段资料(网址呀,字 ...