#include#include#include#includeusingnamespacestd;//字符串分割函数std::vectorsplit(std::stringstr,std::stringpattern){ std::string::size_typepos; std::vectorresult; str+=pattern;//扩展字符串以方便操作 intsize=str.size(); for(inti=0;i
#include#include#include#includeusingnamespacestd;//字符串分割函数std::vectorsplit(std::stringstr,std::stringpattern){ std::string::size_typepos; std::vectorresult; str+=pattern;//扩展字符串以方便操作 intsize=str.size(); for(inti=0;i
于 2022-03-22 发布
文件大小:641.42 kB
0 213
// test1split1str1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
/*
File : split1.cpp
Author : Mike
E-Mail : Mike_Zhang@live.com
*/
#include
#include
#include
#include
#include
using namespace std;
//字符串分割函数
std::vector split(std::string str,std::string pattern)
{
std::string::size_type pos;
std::vector result;
str+=pattern;//扩展字符串以方便操作
int size=str.size();
for(int i=0; i
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
一个聊天程序, 包括server and client使用windows socket原理, 是学习网络编程的好demo...
一个聊天程序, 包括server and client使用windows socket原理, 是学习网络编程的好demo-a chat program, including the use of server and client socket windows theory, learning is a good network programming demo
2022-03-26 00:35:10下载
积分:1
an online examination system, can be logged to register for the examination, the...
一个在线考试系统,进行注册登录即可进行考试,采用了线程-an online examination system, can be logged to register for the examination, the use of threads
2022-05-12 18:20:43下载
积分:1
两段法解线性规划问题的程序实现,用Matlab实现的附有详细程序和基本介绍...
两段法解线性规划问题的程序实现,用Matlab实现的附有详细程序和基本介绍-Solving two linear programming problems Matlab implementation, with detailed procedures and a basic introduction to
2023-05-02 08:20:03下载
积分:1
伙伴系统虚拟分配和回收内存方法,buddy算法
伙伴系统虚拟分配和回收内存方法,buddy算法-A method about partner systems distribute and recycle memory visually
2022-01-24 16:59:51下载
积分:1
它是一个用来对libsvm分析的语言,实现分来计算,预测等功能...
它是一个用来对libsvm分析的语言,实现分来计算,预测等功能
-pin ci
2022-06-15 15:14:44下载
积分:1
vb 自动关机程序
vb 自动关机程序-vb automatic shutdown procedures
2022-02-10 00:08:25下载
积分:1
有条件的读取VSAM文件(ksds)
使用KEY
有条件的读取VSAM文件(ksds)
使用KEY-Conditional read VSAM files (ksds) the use of KEY
2022-03-19 05:38:20下载
积分:1
这是一个实现方法的算法。
This is an implementation of prims algorithm.
2022-01-26 03:11:13下载
积分:1
微软视窗控制一些建立和使用的例子
微软Windows控件的一些建立和使用实例
2022-03-11 21:35:11下载
积分:1
在windows 平台上启动或者停止一个其他的应用进程
在windows平台上启动或者停止一个其他的应用进程-the windows platform start or stop a process other applications
2022-04-20 11:41:43下载
积分:1