1.4常量
#include <iostream>
using namespace std;
/*
#define定义宏常量 #define 常量名 常量值
const定义 的变量
*/
#define Day 7
int main1_4()
{
const int month = 12;
cout << "一周有:" << Day << "天"<<endl;
system("pause");
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int a = 10;
cout << "a=" << a << endl;
system("pause");
return 0;
}