| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2178 人关注过本帖
标题:用过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
快速回复:用过code::block的人进一下关于strchr()
数据加载中...
 
   



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

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