#include <iostream>
using namespace std;

int key = 2012;

void main()
{
	int key = 100;

	cout<<"key="<<key<<endl;
	cout<<"::key="<<::key<<endl;
}

 

 

输出:

key=100

::key=2012

 

posted on 2010-07-17 21:27  萝卜哥  阅读(237)  评论(0编辑  收藏  举报