淡定从容,宁静致远
全部博文(329)
发布时间:2012-12-18 21:55:58
#include<stdio.h>#include<stdlib.h> typedef struct linkdata{ int ID; char name[10]; char ***[5];}Data; typedef struct linknode{ Data data; struct linknode *next; }linnode; linnode *head;int n; void CreateList(){ n=0; linnode *p,*s; char x;......【阅读全文】
发布时间:2012-12-18 21:53:46
#include<stdio.h>#include<stdlib.h>#define SIZE 10 typedef struct lldata{ int ID; int nu; char name[SIZE];}Data; typedef struct llnode{ Data data; struct llnode *next;}lln,*llp; llp CreateList(){ llp head,p,new; int id=0; head=malloc(sizeo......【阅读全文】
发布时间:2012-12-16 23:39:04
#include<stdio.h>#include<stdlib.h> typedef struct linknode{ char data; struct linknode *next; }linnode;linnode *head;int n;void CreateList(){ n=0; linnode *p,*s; char x; int z=1; head = malloc(sizeof(linnode)); p=head; printf("\n\t\t请逐个......【阅读全文】
发布时间:2012-12-12 21:07:31
#ifndef __STRING__H__#define __STRING__H__ #include<stdio.h>#include<stdlib.h> char *strcpy_(char *dest,char *src); int strcmp_(char *s1,char *s2); int strlen_(char *s); char *strcat_(char *dest,char *src); char *strchr_(char *s,char c); char *strstr_(char *haystack,char *needle);......【阅读全文】