ch6_2_1.cpp
Upload User: puke2000
Upload Date: 2022-07-25
Package Size: 912k
Code Size: 0k
Category:

CSharp

Development Platform:

Visual C++

  1. //***********************
  2. //**    ch6_2_1.cpp    **
  3. //***********************
  4. #include <iostream.h>
  5. static int n;        //默认初始化为0
  6. void fn()
  7. {
  8.   n++;
  9.   cout <<n <<endl;
  10. }