![]() |
#2
caoyanchuang2012-09-26 23:05
|
我是入门级
在vc中运行一下提示错误:no operator defined which takes a right-hand operand of type 'int *' (or there is no acceptable conversion)
#include<iostream.h>
main()
{
int i,a[20];
int *p;
p=a;
for(i=0;i<10;i++)
cin>>p;}
请高手指教