3.1命名空间using声明
头文件:
#ifndef C___primer___Header_h
#define C___primer___Header_h
using std::cin;
using std::cout;
using std::endl;
//using namespace std;
#endif
#include <iostream>
#include "Header.h"
int main ()
{
cout<<"enter the two number: "<<endl;
int a,b;
cin>>a>>b;
cout<<"the product of the two number is:"<<a*b<<endl;
}