摘要:        
include "iostream.h" 解法二:#include "iostream.h"void swap(int x,int y)void swap(int *x,int *y){ {int t;int t;t=x;x=y;y=t;t=*x;*x=*y;*y=t; } }void main()void main(){ {int a=10,b=20; int a=10,b=20;swap(a,b); swap(&a,&b);cout<<"a="<<a<<" "    阅读全文
        
            posted @ 2011-10-31 12:34
奇奇博客
阅读(172)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
这是上大学以来的第一次活,以前都是自己上去演讲,他们在下面看着,今天我也在下面看着他们演话剧了,进入学生会的第一次活动,感觉挺、挺爽的,呵呵!!!    阅读全文
        
            posted @ 2011-10-31 00:39
奇奇博客
阅读(120)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
#include<iostream.h>void main(){int m,n,x,y,j; m=0;n=0;y=0;x=0; char a[5];cin>>a;for(j=0;j<=4;j++){if (a[j]>='a' && a[j]<='z') m+=1; else if (a[j]>='A' && a[j]<='Z') n+=1; else if (a[j]>='0' && a[j]<=    阅读全文
        
            posted @ 2011-10-31 00:17
奇奇博客
阅读(107)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
#include<iostream.h>void main(){int m,n,x,y,j; m=0;n=0;y=0;x=0; char a[10];for (j=0;j<10;j++){cin>>a[j]; if (a[j]>='a' && a[j]<='z') m+=1; else if (a[j]>='A' && a[j]<='Z') n+=1; else if (a[j]>='0' && a[j]&l    阅读全文
        
            posted @ 2011-10-31 00:14
奇奇博客
阅读(134)
评论(0)
推荐(0)
        
        
                    
                
浙公网安备 33010602011771号