C++中的指向常量的指针有关问题

C++中的指向常量的指针问题int main(){const int testValue1 23const int* test_const_point &testVa

C++中的指向常量的指针问题
int main() 

const int testValue1 = 23;
const int* test_const_point = &testValue1;
  *test_const_point += 1; //这样做会出错,这个我知道!指向常量吗,不可以改!
cout << *test_const_point + 1 << endl;//问题是为什么这样改就可以了!
}

我在vs2008下编译的!

[解决办法]
+=有回写操作啊!
[解决办法]
int main() 

const int testValue1 = 23;
const int* test_const_point = &testValue1;
*test_const_point += 1; //这样做会出错,这个我知道!指向常量吗,不可以改!
cout < < *test_const_point + 1 < < endl;//问题是为什么这样改就可以了! // 这里并没有修改test_const_point
}
[解决办法]

探讨
int main()
{
const int testValue1 = 23;
const int* test_const_point = &testValue1;
*test_const_point += 1; //这样做会出错,这个我知道!指向常量吗,不可以改!
cout < < *test_const_point + 1 < < endl;//问题是为什么这样改就可以了! // 这里并没有修改test_const_point
}