导航

2015年1月21日

摘要: #include #include #include #include #include #include //int user_num=0; //普通用户数量//int vip_num=0; //VIP用户数量char* buf1; //哪种请求char* buf2; ... 阅读全文

posted @ 2015-01-21 13:25 Super_pan 阅读(109) 评论(0) 推荐(0) 编辑

摘要: answer.c#include #include "vipLogin.h"#include "callinfo.h" #include "stdlib.h"#include void answer_user( GtkWidget *widget,gpointer data ){ c... 阅读全文

posted @ 2015-01-21 05:50 Super_pan 阅读(389) 评论(0) 推荐(0) 编辑

摘要: void save (struct stu *head){ FILE *fp,*fpp; if (((fp=fopen (filenameB,"at"))==NULL)||((fpp=fopen (filename,"a... 阅读全文

posted @ 2015-01-21 03:28 Super_pan 阅读(134) 评论(0) 推荐(0) 编辑

2015年1月20日

摘要: satff.c#include #include "Staff_Login.h"#include "Staff_Work1.h"#include "Staff_Work2.h"int main( int argc,char *argv[] ) { //初始化GTK+工具库 gtk_init... 阅读全文

posted @ 2015-01-20 22:41 Super_pan 阅读(124) 评论(0) 推荐(0) 编辑

摘要: #include #include "request.h"#include "managerLogin.h"#include "call.h"int main(int argc,char *argv[]){ gtk_init(&argc,&argv); /*初始化GTK+工具库*/ //re... 阅读全文

posted @ 2015-01-20 22:22 Super_pan 阅读(222) 评论(0) 推荐(0) 编辑

摘要: #include GtkWidget *create_window(); //创建窗体和控件!!gboolean button_press(GtkWidget *window,GdkEventButton *event,gint data);int main(int argc,char *argv[... 阅读全文

posted @ 2015-01-20 14:49 Super_pan 阅读(140) 评论(0) 推荐(0) 编辑

摘要: #include #include "request.h"void callback( GtkWidget *widget,gpointer data ) { gtk_widget_hide(data); request(); } gint delete_event( G... 阅读全文

posted @ 2015-01-20 13:43 Super_pan 阅读(166) 评论(0) 推荐(0) 编辑

摘要: #include #include #include #include #include #include int user_num=0; //普通用户数量int vip_num=0; //VIP用户数量 void doService(char buf[]); int... 阅读全文

posted @ 2015-01-20 13:42 Super_pan 阅读(113) 评论(0) 推荐(0) 编辑

摘要: #include #include "answer.h" void answers( GtkWidget *widget,gpointer data ) { gtk_widget_hide(data); answer(); } int request( ) {... 阅读全文

posted @ 2015-01-20 13:41 Super_pan 阅读(154) 评论(0) 推荐(0) 编辑

摘要: #include void do_button1(GtkWidget *widget,gpointer data ){ //const gchar*uname; //uname=(gchar*)malloc(sizeof(gchar)); //uname=gtk_entry_ge... 阅读全文

posted @ 2015-01-20 13:40 Super_pan 阅读(137) 评论(0) 推荐(0) 编辑