摘要:
#include<iostream> using namespace std; void foo() { int num = 4; for(int i = 0;i<10;i++) { /* static int snum = num; snum++; cout<<snum<<endl; */ sta 阅读全文
摘要:
#include <iostream> using namespace std; void foo() { static int count = 0; if(count<5) { count++; cout<<count<<endl; foo(); } else { cout<<"count > 5 阅读全文