strchr
来源:互联网 发布:淘宝优惠券查询机器人 编辑:程序博客网 时间:2024/05/16 04:18
#include <stdio.h>
#include <string.h>
int main(){
const char string[20]="Hello there,honey.";
const char* ans;
ans=strchr(string,'h');
printf("%d",ans-string);
}
输出:7
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr
- strchr函数
- strchr.c
- strchr() 函数
- strchr函数
- strchr函数
- Netty和Jetty的Java NIO 网络框架模型分析
- hadoop 序列化与java序列化的区别
- cocos2d-x-LuaProxy学习日志(2) -- 搭建cocos2dx-LuaProxy (2.1.4) + cocosbuilder
- VirtualBox上安装64位系统
- Substitution Cipher spojSCYPHER
- strchr
- cocos2d-x-LuaProxy学习日志(7) -- 场景切换
- 第一次机房收费系统总结
- HDU 2011 - 多项式求和(打表)
- [Java] 第三章 面向对象总结
- Java中super、this关键字
- ios字典和数组遍历时不能执行removeobject操作
- <菜鸟上路>java基础以及面向对象
- netty从入门到精通——入门篇