标题:c++
取消只看楼主
lljojo501
Rank: 1
等 级:新手上路
帖 子:6
专家分:3
注 册:2012-9-26
结帖率:66.67%
已结贴  问题点数:20 回复次数:0 
c++
我是入门级
在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;}

请高手指教
搜索更多相关主题的帖子: conversion 
2012-09-26 22:57



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-382170-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.496316 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved