一些关于链表操作的代码
    
            
摘要:#include #include #include #define SIZE 10 struct node { int num; struct node *next; }; struct stud { char name[10]; int num; }sw[5],sr[5],*pw,*pr; void selectsort(int *); void b...
        
阅读全文
 
            
                posted @ 
2017-03-18 00:31 
lie隼
        
阅读(166) 
         
        推荐(0)     
             
         
            
            
    C语言之大数相加
    
            
摘要:#include#includeint main(){	int f;	int i,an,bn,k;	char a[1000],b[1000];	int af[1000]={0},bf[1000]={0},c[1000];	while(scanf("%s%s",a,b)!=EOF) //输入字符串...
        
阅读全文
 
            
                posted @ 
2013-09-13 17:34 
lie隼
        
阅读(963) 
         
        推荐(0)     
             
         
            
            
    输入一个年输出其天干地支纪年法的表达式
    
            
摘要:#include #include using namespace std;char *day_name1(int x){	static char *name[20]={"Gui","Jia", "Yi", "Bing", "Ding", "Wu", "Ji", "Geng", "Xin", "Re...
        
阅读全文
 
            
                posted @ 
2013-08-24 11:23 
lie隼
        
阅读(452) 
         
        推荐(0)     
             
         
            
            
    整数各位数分离(C语言代码)
    
            
摘要:#includeint main(){	int m=1,i=0;	long int n;	int a[16];	printf("Input an integer: ");	scanf("%ld",&n);	if(n=0;i--) printf("%d ",a[i]);	printf("\n");	...
        
阅读全文
 
            
                posted @ 
2013-08-10 11:10 
lie隼
        
阅读(1542) 
         
        推荐(0)