摘要:        
#include <iostream>using namespace std; const int apple_size = 10;const int banana_size = 20; //********************************fruit interface class fruit{public: virtual void name()=0; virtual i...    阅读全文
posted @ 2012-08-01 19:54
sky-zhang
阅读(458)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include <stdio.h> struct st_test{ int a; int b;}; enum{ one, two,}; struct st_test tt[2]={ [two] = { .b=1, .a=0, }, [one] = {2,3,},}; int main(){ printf("%d\n",tt[two].b); return 0;} 如上图红色部...    阅读全文
posted @ 2012-08-01 19:22
sky-zhang
阅读(226)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号