-
C语言用指针操作字符串的几个案例(求长度、次数、删除子串等)
都是自己学C的时候写的几个小函数,都包含main函数能独立运行的(将.txt后缀改.cpp就可以在VC里运行了)仿照STL库来的功能,不过没有套C++的壳,有兴趣的可以试试咯
1、求字符串长度的函数实现和测试案例
3、求子串在主串中出现的次数
5、删除特定子串(通过下标索引)
对了,这是用指针实现的,所以可能会有空指针异常的话就自行判断一把咯
- 2022-03-19 08:00:16下载
- 积分:1
-
标准键盘对照表
标准键盘对照表(编程必备)(standard keyboard control (programming required))
- 2004-09-09 09:16:43下载
- 积分:1
-
PcsMgr
Windows任务管理器,VC++开发的任务管理器(Windows Task Manager, Task Manager VC++ development)
- 2012-07-25 21:58:30下载
- 积分:1
-
LEACH.wsnlab.ir
LEACH (Low-Energy Adaptive Clustering Hierarchy)
- 2013-10-30 14:57:49下载
- 积分:1
-
Code
动态链接库程序的编写。静态库与动态库的区别,以及调用程序在链接静态库和动态库时的区别。如何利用工具查看动态链接库输出的函数,Depends工具的使用,C++编译器名字改编技术对动态链接库输出函数的影响,extern "C"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。(DLL program code. Static libraries and dynamic repository of differentiation, and calling program in the link static libraries and dynamic library difference. How to use tools to check DLL output function, Depends tools using, C++ compiler adapted technology to name DLL output functions, the influence of extern "C" usage, using C++ module definition file to solve problem. Name adapted With typedef definition pointer to a function pointer type, how to get dynamic connection pool of a function pointer.)
- 2010-12-13 11:27:45下载
- 积分:1
-
muti players distribution programming
muti players distribution programming 课件 与源码, 我要分啊 这么好的东西我都传了
- 2023-01-04 19:05:04下载
- 积分:1
-
WordTestFirst
说明: mfc操作word文档 创建 存盘 设置字体(颜色 大小 字体类型) 添加表格 添加图片 设置行间距等 (mfc Operation Save word document creation set the font (color size font type) Add a form to add picture set line spacing, etc.)
- 2008-09-22 16:00:31下载
- 积分:1
-
LogNET
Log4Net Demo示例 环境Vs2010 Window Form中封装Log4Net组件。(Log4Net Demo Example)
- 2013-12-19 23:30:39下载
- 积分:1
-
intermit
CC1110中断实验,简单明了的实现方法,使用IAR工程提供可以直接使用(err)
- 2008-06-18 09:44:22下载
- 积分:1
-
12864
说明: 点阵式液晶显示片
型号:12864 驱动程序(Dot-matrix liquid crystal display film models: 12864 driver)
- 2009-08-22 14:38:41下载
- 积分:1