搜索资源列表
nk=m
- 给定k个正整数,用算术运算符+,-,*,/将这k个正整数连接起来,使最终的得数恰为m。完成 string Caculate(int[] k, int m)方法,它接受k和m,返回连接的字符串(比如”1*2+5”)使其恰好等于m 。如果没有这样的连接,则返回为空字符串”” 注:此算法得出的结果所有的运算顺序都是从左到右,而没有+-*/的优先级-Given a positive integer k, using the arithmetic operator 2B !,-,*,/ this po
liaotianshi
- 客户端的实现效果 1.登录服务器,如果服务器端口号和IP号输入的字符都是"0"则,客户端连接到默认的服务器 2.输入聊天昵称 3.输入"-quit"会自动退出聊天 4.输入"-getList"会得到在线用户的名称 5.输入"-to <用户名称> <聊天信息>"会把信息发送到指定的用户处,他人看不到 6.输入"-help"会得到客户端相应操作帮助 6.直接输入内容则会将内容发
CseApi20
- CseApi20.zip是CSE脚本语言的底层封装库,用C++封装常用对象,包括Int、WideInt、float、Object对象、char数组(即string)、Int数组、object数组、字典dict等,由于封装是轻量级的,常用作基础类型库来支持Win32软件开发,如果使用STL容器等觉得不便时,这个库是很好的替代方案。-CseApi20.zip is the underlying scr ipting language package CSE database, using C++ p
atoi
- < atoi> converts the initial portion of a string to an <<int>>.-<<atoi>> converts the initial portion of a string to an <<int>>.
wregi_wszystkie_pole
- In addition, this class provides several methods for converting an int to a String and a String to an int, as well as other constants and methods useful when dealing with an
test66
- 对中断的调用。对文件写字符串。共五个例程。test66 是在显示屏上出现彩色字符串。-using int。 write string to an archive。
Dictionary_Search
- 有名的词典查询 自动生成10000个单词然后找他的类似词。。。 -//Dictionary #include <iostream> #include <fstream> #include <string> #include <time.h> #define maxsize 10000000 #define exp_n 10000 using namespace std string word[maxs
sort
- 用快速排序算法,对大量数字(int)和字符串(string)进行排序,并对比算法运行时间和效率。-Using quick sort algorithm, a large number of digital (int) and string (string) to sort and compare the algorithm running time and efficiency.
stack-to-queue
- 用二个顺序存储结构的栈,通过这二个栈的相关运算实现队列的以下功能。 Queue() //构造函数 bool empty() //返回队列是否已空 bool full() //返回队列是否已满 int serve() //出队列,成功返回0,否则返回-1 int append(const string &item) //item进队列,成功返回0,否则返回-1 int retrieve(string &item) const //将队列头的值赋给item,成功返
example4
- 各种标注输入框的使用方法 ,提供4种数据类型的输入,跨越式一个字符串、一个Int类型数据、一个double类型数据或是一个下拉列表框的条目。-All kinds of mark input box to use a method, with four kinds of data types of input, leapfrog a string, a Int type data, a double type data or a drop-down list box entries.
MyString
- Define MyString class with demands as follows: 0. You CAN NOT use string in the program. 1. MyString can save any string 2. Overload operator + to append string to another one, such as: MyString S1, S2, S3 S1 = S2 + S3 3. Defin
Const1
- GradeBook(String,const int[]) 中const去掉对函数体的影响;-GradeBook (String, const int []) in the const to remove the influence of the function body
word
- Cstring转char、string、int等数据类型的方法-types Cstring turn to char, string, int data
3
- 描述: 设计单链表类,并基于单链表类实现栈类和队列类: (1)设计学生信息类StudentRecord,要求包含公有数据成员:string stuName和int stuNo,设计用于输出学生信息的公有成员函数:void print,输出格式为:Name: stuName, Number: stuNo。 (2)设计学生链表的结点类StudentNode,要求包含公有数据成员:StudentRecord data和StudentNode *next。 (3)设计学生链
vcnetstringdemos
- 收集了一些VC.NET字符串的操作演示实例源码,比如对字符串进行连接,字符串比较,从字符串中存取字符,如何计算一个字符串的大小,如何使用VC快速格式化一个字符串,如何将Cstring类型的字符串转换成int型和float型,如何让字符串赋值给字符指针等技巧,很小的例子,都挺简单,适合初学者。-Collected some VC.NET string operation and demonstration source code examples, such as the connection s
img2avi
- 基于opencv的图片拼接成视频源码,提供了两个函数-readAllImg(vector<string> filesName)和img2video(vector<Mat> imgFiles,string saveFilePath,int fps)-Based on OpenCV,to turn pictures to avi
int
- 编写函数int index返回字符t在字条串s中出现的最左边的位置,如果在s中没有与t匹配的子串,不返回-1-function int index prepared to return to the characters not string' s note appeared in the leftmost position, If s and t is not matched substring, not to return-1
VC.NETstringdemo
- 收集了一些VC.NET字符串的操作演示实例源码,比如对字符串进行连接,字符串比较,从字符串中存取字符,如何计算一个字符串的大小,如何使用VC快速格式化一个字符串,如何将Cstring类型的字符串转换成int型和float型,如何让字符串赋值给字符指针等技巧,很小的例子,都挺简单,适合初学者-Collected VC.NET string operation demonstrates some examples of source code, such as connection strings,
e2prom_24c02
- stm32f10x驱动24c02芯片,将头文件和源码加入工程后稍作修改即可直接使用库函数,包括功能存取字符串,unsigned int型数据和一个简单的栈操作。移植方便。-stm32f10x drive 24c02 chip, the header files and source code after some modifications can be directly added to the project using the library functions, including fu
gtssssp
- 编写自定义函数int ctoi(char s[]),将字符串转换为对应的整数。其中 s是一个只包含数字的字符数组,函数返值为转换后所得整数。在main函数中验证结果。例如,字符串“512”转换后得到整数512。-Write a custom function int ctoi (char s []), to convert the string to the corresponding integer. Where s is a character array containing only