明明是对的,为什么不通过
//const #include <iostream> using namespace std; int main(void) { //定义常量count const int count = 3; const int *p = &count; //打印count次字符串Hello C++ for(int i = 0; i < count; i++) { cout << "Hello imooc" << endl; } return 0; }
明明是对的,为什么不通过
//const #include <iostream> using namespace std; int main(void) { //定义常量count const int count = 3; const int *p = &count; //打印count次字符串Hello C++ for(int i = 0; i < count; i++) { cout << "Hello imooc" << endl; } return 0; }
明明是对的,为什么不通过
2017-05-09
举报