::代表作用域  如果前面什么都不添加 代表全局作用域
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
//using namespace std;  using name std的作用是释放std命名空间中的变量名,函数名以及类型名,其中std是C++标准库的命名空间


int atk = 1000;
void test01()
{
	// cout << "hello world"  << 123 << endl;
	int atk = 2000;
	std::cout << "atk = " << atk << std::endl;
	// ::代表作用域  如果前面什么都不添加 代表全局作用域,表示用什么作用域下面的东西,什么都不加,表示用全局下面的东西
	std::cout << "全局 atk = " << ::atk << std::endl;
}


int main(){
	test01();


	system("pause");
	return EXIT_SUCCESS;
}