- 博客(4)
- 收藏
- 关注
原创 共享链表
#include #include #define offsetof1(S_TYPE) ((int)&((S_TYPE *)0)->list1) #define offsetof2(S_TYPE) ((int)&((S_TYPE *)0)->list2) typedef struct note { struct note *front; struct note *next;
2014-05-05 12:20:28
415
原创 万能排序----快速排序
int campare(const void *a,const void *b) { char *x=(char *)a; char *y=(char *)b; // printf("*x-*y=%d\n",*x-*y); return *x-*y; } void swap(char *a,char *b,int size) { char temp; if(*a!=*
2014-05-05 12:19:24
323
原创 万能排序---冒泡法
int campare(const void *a,const void *b) { char *x=(char *)a; char *y=(char *)b; // printf("*x-*y=%d\n",*x-*y); return *x-*y; } void swap(char *a,char *b,int size) { char temp; if(*a!=*
2014-05-05 12:18:21
391
原创 how to use gtk redio-button
videobutton.select_video_button= gtk_radio_button_new_with_label(NULL, "video"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(videobutton.select_video_button), FALSE); // 默认被按下 gtk_table_attach_
2014-05-05 11:05:52
359
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人