const用法解决办法

const用法
const int a = 5;
  const int* ptr;
  int* const ptr = &a;
  const int* const ptr = &a;
  double& fn(const double& pd)
{
static double ad = 32;
ad += pd;
return ad;
}
int Date::GetMonth() const
{
return month;        
}
分别说明7个const的含义

------解决方案--------------------
自行看用法http://download.****.net/detail/zouheliang/3921457
------解决方案--------------------
const基本用法