CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 其他小程序 搜索资源 - string to int

搜索资源列表

  1. s5

    0下载:
  2. 编写一个函数int squeeze(char s1[], const char s2[]),它从字符串s1中删除所有在s2里出现的字符,函数返回删除的字符个数-Write a function int squeeze (char s1 [], const char s2 []), remove it from the string s1 where s2 occurs all the characters, the function returns the number of character
  3. 所属分类:Other windows programs

    • 发布日期:2017-03-24
    • 文件大小:852986
    • 提供者:
  1. zichuanweizhi

    0下载:
  2. 编写一个函数int loc(char * a, char *b),确认a,b两个字符串中一个字符串是否包含另一个字符串,如果包含则返回被包含字符串在另外一字符串的起始位置,如果不包含则返回-1。请在主函数中让用户输入两个字符串,调用该函数进行判断,并输出判断结果。-Write a function int loc (char* a, char* b), confirmed that a, b two string if a string contains another string, if c
  3. 所属分类:Other windows programs

    • 发布日期:2017-04-28
    • 文件大小:16435
    • 提供者:huaying
  1. string_strutil

    0下载:
  2. std::string并没有提供所有需要方法。所以,需要用STL提供了算法库、字符串流以及现存的std::string的方法来实现它们。 ※ 将字符串转换为大写/小写 ※ 去掉字符串两端的空格 ※ 忽略大小写比较字符串 ※ StartsWith和EndsWith ※ 从字符串解析出int和bool等类型的值 ※ 将各种数值类型转换成字符串(toString) ※ 拆分字符串和Tokenizer-std:: string does not provide all the
  3. 所属分类:Other systems

    • 发布日期:2017-03-21
    • 文件大小:3600
    • 提供者:方启
  1. s6

    0下载:
  2. 6. 编写一个函数find_replace_str,其原型如下: int find_replace_str(char str[], const char find_str[], const char replace_str[]) 要求:该函数能够完成把字符串str中的所有子串find_str都替换成字符串replace_str,返回值为替换的次数。 -Six. Write a function find_replace_str, w
  3. 所属分类:Other windows programs

    • 发布日期:2017-03-23
    • 文件大小:841617
    • 提供者:
  1. itoa

    0下载:
  2. 一个小程序把整数转化成字符串。输入整数1234,可以得到字符串类形的1234-transform int to string
  3. 所属分类:Other windows programs

    • 发布日期:2017-04-01
    • 文件大小:195562
    • 提供者:hyo
  1. Exercise5.5

    0下载:
  2. 1.已经4个字符串,编程输出它们中最小的一个 2.将一个长度为n的字符串,编程实现其逆序输出 3.已知一个二维int型数组,编程求出它的最小的元素值 4.已知字符型指针数组中存放若干个字符串,编程从键盘上修改其中某个字符串 5.有n个小孩排成一圈,从第一个小孩开始作1到3的报数,凡报数为3的小孩从圈中出来,求最后出圈的小孩的顺序号是多少? -1 has four strings, programmed output the smallest of them A
  3. 所属分类:Other windows programs

    • 发布日期:2017-03-30
    • 文件大小:227246
    • 提供者:shenghonghe
  1. Const1

    0下载:
  2. GradeBook(String,const int[]) 中const去掉对函数体的影响;-GradeBook (String, const int []) in the const to remove the influence of the function body
  3. 所属分类:Other windows programs

    • 发布日期:2017-03-29
    • 文件大小:906423
    • 提供者:
  1. Vehicles

    0下载:
  2. 一个关于Vehicle的小程序,带源码,测试可以执行。主要是一个类的继承的练习。-Vehicles Create a base class called Vehicle that has • the manufacturer’s name (type string), • number of cylinders in the engine (type int), and • owner (type Person, given below).
  3. 所属分类:Other windows programs

    • 发布日期:2017-11-06
    • 文件大小:7634
    • 提供者:沈晴雯
  1. char_string

    0下载:
  2. 举例实现由int转换到char类型;string数据连接添加char数组;string转化到const char类型;-Example to achieve the conversion from int to char type string data connections add char array string conversion to const char type
  3. 所属分类:Other systems

    • 发布日期:2017-11-15
    • 文件大小:989469
    • 提供者:沈耀强
  1. ch06

    0下载:
  2. 1. 编写并测试如下函数:void Add (int a[], int m, int b[], int n) 该函数将数组b的前n个元素追加到数组a的前m个元素后,假定数组a具有至少存放m+n个元素的空间。例如,如果数组a为{22,33,44,55,66,77,88,99},数组b为{20,30,40,50,60,70,80,90},则调用Add(a,5,b,3)后,将把数组a变为{22,33,44,55,66,20,30,40}。注意数组b并没有改变,而且数组a中只需改变n个元素。 编写一
  3. 所属分类:Other systems

    • 发布日期:2017-11-14
    • 文件大小:36628464
    • 提供者:王石
  1. zhuanhuan

    0下载:
  2. 实现字符串string向int整型转换,还可以向double、float型转换-For string string to int int conversion, but also can double, float type conversion
  3. 所属分类:Other systems

    • 发布日期:2017-04-03
    • 文件大小:13685
    • 提供者:asd
  1. huiwen

    0下载:
  2. 回文(palindrome)是指一个字符串从前面读和从后面读都一样,仅使用若干栈和队列、栈和队列的ADT函数以及若干个int类型和char类型的变量,设计一个算法来判断一个字符串是否为回文。假设字符串从标准输入设备一次读入一个字符,算法的输出结果为true或者false。-Palindrome (palindrome) refers to a string read from the front and from the back to read the same, only a number
  3. 所属分类:Other systems

    • 发布日期:2017-03-28
    • 文件大小:809
    • 提供者:林佩燕
  1. calculate

    0下载:
  2. 输入一个只包含个位数字的简单四则运算表达式字符串,计算该表达式的值 注: 1、表达式只含 +, -, *, / 四则运算符,不含括号 2、表达式数值只包含个位整数(0-9),且不会出现0作为除数的情况 3、要考虑加减乘除按通常四则运算规定的计算优先级 4、除法用整数除法,即仅保留除法运算结果的整数部分。比如8/3=2。输入表达式保证无0作为除数情况发生 5、输入字符串一定是符合题意合法的表达式,其中只包括数字字符和四则运算符字符,除此之外不含其它任何字符,不会出现计算溢出
  3. 所属分类:Other systems

    • 发布日期:2017-05-17
    • 文件大小:4403424
    • 提供者:逍遥
  1. StringOverLoading

    0下载:
  2. 运算符重载 任务目标:   学习C++的运算符函数重载机制,并学习C++的。 任务描述:   设计一个字符串类MyString,要求该类能够完成以下操作(用函数重载机制完成)。要求构造完整的类(包括构造、析构函数),并且实现其他以下功能 String1=String2+String3 (重载+) String1 += String2 (重载+=) (int)String1 (重载类型转换int),将String对象中的所有字符的ASCII相加后返回。
  3. 所属分类:Other windows programs

    • 发布日期:2017-05-19
    • 文件大小:5163168
    • 提供者:周畅
  1. Downloads

    1下载:
  2. Create a class called Employee that includes three pieces of information as data membersa first name (type string), a last name (type string) and a monthly salary (type int). [Note: In subsequent chapters, we ll use numbers that contain de
  3. 所属分类:Other systems

    • 发布日期:2017-04-12
    • 文件大小:1921
    • 提供者:??????
  1. int-convert-string-by-C-Language

    0下载:
  2. C语言实现,自定义两个函数,实现int型和字符串String型互换:把字符串转化成double浮点型,把int型转化为String型,在网络通信中用得到,在VC环境下已经验证-by using C Language,define two functions and realize below function:we can convert int to string ,and also string to int ,these fucntion has been tested.
  3. 所属分类:Other windows programs

    • 发布日期:2017-04-12
    • 文件大小:799
    • 提供者:王茂春
  1. ep3

    9下载:
  2. 北京理工大学面向对象程序设计第三次上机习题答案~-1. Define MyString class with demands as follows: 1.1 MyString can save any string 1.2 Overload operator+ to append string to another one 1.3 Define Find function to locate the position of searching
  3. 所属分类:Other systems

    • 发布日期:2017-04-14
    • 文件大小:3507
    • 提供者:刘晶晶
  1. Poly

    1下载:
  2. 1、可通过 Poly P 声明一个多项式 P; 2、可通过 P.read(string P_str) 直接从 手写习惯的多项式字符串 读入多项式; 3、可通过 P.newTerm(double Coef, int Exp) 增添多项式的项,如果含有同类项,则合并; 4、可直接通过 P Q 给多项式 P 赋值; 5、可直接通过 cout << P 以手写习惯输出多项式; 6、可通过 P.clear() 清除一个多项式; 7、可直接通过 +、-、*、/、 进行多项
  3. 所属分类:Other windows programs

    • 发布日期:2017-05-04
    • 文件大小:57325
    • 提供者:Bing-Hui WANG
  1. C#入门经典教程

    0下载:
  2. using System; namespace ArrayApplication { class MyArray { static void Main(string[] args) { int [] n = new int[10]; /* n 是一个带有 10 个整数的数组 */ int i,j; /* 初始化数组 n 中的元素 */ for
  3. 所属分类:其他

    • 发布日期:2018-01-04
    • 文件大小:3673088
    • 提供者:NanStone001
  1. 浮点数运算

    0下载:
  2. 浮点数的表示与算术运算算法分析,要求理论推导与程序模拟。 算术运算包括字符串到浮点数、浮点数到字符串的转换,加、减、乘、除四则运算等。要有说明文档,包括算法证明、程序框图、使用方法、特殊处理(溢出、数位扩展)、实例分析等等。字符串转换可能稍难。 typedef unsigned int dwrd; #32-bit char* ftoa(dwrd); dwrd atof(char*); dwrd fadd(dwrd, dwrd); dwrd fsub(dwrd, dwrd); dwr
  3. 所属分类:其他

    • 发布日期:2021-03-29
    • 文件大小:547840
    • 提供者:游哉
« 12 »
搜珍网 www.dssz.com