标题:问个傻瓜问题
取消只看楼主
yanshuili
Rank: 2
来 自:揭阳
等 级:论坛游民
帖 子:22
专家分:10
注 册:2011-3-28
结帖率:66.67%
已结贴  问题点数:20 回复次数:1 
问个傻瓜问题
#include<stdio.h>
int main()
{
    int a, b;
    int *p, *q;
    a=3; b=4;
    *p = &a;
    *q = &b;
    printf("%d%d\n",*p,*q);
    return 0;
}
[Error] C:\Users\lee\Documents\C-Free\Temp\未命名1.cpp:7: error: invalid conversion from `int*' to `int'
[Error] C:\Users\lee\Documents\C-Free\Temp\未命名1.cpp:8: error: invalid conversion from `int*' to `int'

求大侠点播下
搜索更多相关主题的帖子: invalid 命名 conversion Documents return 
2012-07-27 15:18
yanshuili
Rank: 2
来 自:揭阳
等 级:论坛游民
帖 子:22
专家分:10
注 册:2011-3-28
得分:0 
回复 2楼 lz1091914999
谢谢你!
2012-07-27 15:26



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




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

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