标题:用过code::block的人进一下关于strchr()
取消只看楼主
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
结帖率:100%
 问题点数:0 回复次数:5 
用过code::block的人进一下关于strchr()
#include <stdio.h>


int main()
{
    char *p;
    p=strchr("ffffffsddd",'s');
    return 0;
}

明明对的代码为什么用code::block编译的时候会p=strchr("ffffffsddd",'s');这行爆出一个warning啊 。。
郁闷中。。。
搜索更多相关主题的帖子: block strchr code 
2008-06-20 14:43
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
得分:0 
前面是字符串 后面是字符啊。。

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.
2008-06-20 14:50
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
得分:0 
失误了。。

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.
2008-06-20 15:51
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
得分:0 
Solaris有人用过吗。。。" border="0" />

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.
2008-06-20 16:11
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
得分:0 
sun产品 免费 不开源

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.
2008-06-20 16:22
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
得分:0 
我试了N多种OS后还是windows舒服。。搭Linux环境太复杂了。都是命令行操作。。KDE和GNOME图形界面的功能太少。。字符界面太复杂。以前vi进去就没有一次成功退出过。。可能是我太笨的缘故吧。
以后有空再继续研究LINUX。现在先WINDOWS里面跑跑。。

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.
2008-06-20 22:55



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




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

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