搜索资源列表
StringFloat
- 在VB程序中,完成字符与单精度浮点数的转换,其中StringToDouble为字符串转换为单精度数,FloatToString为单精度数转换为4字节字符串。-in VB program, complete with characters in the single precision floating point conversion, which StringToDouble to string conversion of single-precision the number of sing
Calculate_N!_Code_in_Delphi
- 用Delphi编写的计算n!的方法,是用字符串转换的,速度很慢,可以用来与常规方法比较,了解各自的优越性-prepared by the Delphi calculating n! The method is the use of the string conversion, the speed is very slow. can be used with conventional methods, the understanding of the superiority of their re
TurboPascalAdvancedProgramming
- 第1章 TURBO PASCAL高级编程技术 1.1 单元及其使用 1.2 与汇编语言混合编程 1.3 与C语言混合编程 1.4 过程类型及其使用 1.5 中断例程的编写方法 1.6 动态数组及其使用 1.7 扩充内存(EMS)及其使用 1.8 扩展内存(XMS)及其使用 1.9 程序的标准数据作代码处理的方法 第2章 实用工具单元 2.1 屏幕输入与输出单元ACRT 2.2 字符串处理单元ASTR 2.3 磁盘
mStrFun
- VB编写:与字符串有关的拆分、合并、转换、替换、测试函数模块
calc
- 2,4,8,16进制转换,及ASCII码转换,字符串转换
suanfa
- 设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括: 1. 删除一个字符 2. 插入一个字符 3. 将一个字符改为另一个字符 将字符串A变换为字符串B所用的最少操作数称为A到B的编辑距离,极为d(A,B)。设计一个算法,计算任意两个字符串的编辑距离。 -Set A and B are two strings. Operation will use the least character string A is converted to a
fdjs
- 在许多应用程序领域中,都需要控制小数点后的小数位,但是浮点数对此不能提供直接的支持。怎样对程序中的浮点数据进行"整齐"地格式化呢?在此我们有一个迂回的方法,先把它们转换为字符串,格式化后以文本形式显示出来。 -In many applications areas, both need to control the decimal places after the decimal point, but the floating-point numbers which can not provide
ydaimaBigNum
- 件介绍: VC++数论计算的无符号大整数类及范例 VC++数论计算的无符号大整数类及范例,利用空闲时间编写了一个用于数论计算的无符号大整数类: //乘2运算,即 // a = a * 2^dwTimes 相当于左移一位二进制,低位补0 CUSuperInt& Double(DWORD dwTimes = 1) //除2运算 相当于右移一位二进制,高位边补0,低位舍弃 CUSuperInt& Half(DWORD dwTimes = 1)
example1
- 建立图形演示系统菜单,包括plot,option,quit,三项。建立数制转换对话框。在左边输入一个十进制整数和2~16之间的数,单击“转换”按钮能在右边得到十进制数所对应的2~16进制字符串,单击“退出”按钮退出对话框-Create a graphical presentation system menu, including the plot, option, quit, three. Build number system conversion dialog box. The left a
Program
- 矩阵转换问题 行与列的个数均为n 的矩阵称为n 阶方阵。假定矩阵中的每个元素的值在0到9之间,则可以将矩阵中的所有元素按行依次排列得到一个“单行矩阵字符串”。-Matrix conversion, the number of rows and columns of the matrix n are called n-order square. Assume that each element of matrix value in the 0 to 9, you can press all t
test
- 从键盘输入一个字符串,将小写字母全部转换成大写字母,然后输出到一个磁盘文件“test”中保存。 输入的字符串以!结束。 -Enter a string from the keyboard will be all lowercase letters converted to uppercase letters, and then output to a disk file " test" to save. Enter the string! End.
Keda-Matrix
- 可达矩阵求法 动态分配一维数组 去掉字符串中的空格和回车 将Cstring转换成int数组-Matrix Method to dynamically allocate up to one-dimensional array of strings to remove spaces and carriage returns will be converted to int array Cstring
BigInt_cpp
- 本程序的编写思路是,把所有输入的数字当作字符串进行处理,进行强制转换成整形数据,然后模仿笔算方法,对整形数据进行处理,最后得到的数据,再次转换成字符串类型,并存储输出。本程序运行速度快、功能强,是作者于完成应用密码学课程设计时编写而成的,经反复测试无误。-The procedures for the preparation ideas, the number of all input as string processing, cast into plastic data, and then i
CPPprogram
- 编写程序实现输入整数n,输出如下所示由数字组成的菱形。 输入4×4的数组,编写程序实现: (1)求出对角线上各元素的和; (2)求出对角线上行、列下标均为偶数的各元素的积; (3)找出对角线上其值最大的元素和它在数组中的位置。 用递归法将一个整数n转换成字符串。例如,输入483,应输出字符串“483”。n的位数不确定,可以是任意位数的整 有一字符串,包含n个字符。写一函数,将此字符串中从第m个字符开始的全部字符复制成为另一个字符串。 -Write a progra
bit.tar
- 将字符串转换成相应的比特为进行操作,提供标准的接口,外部程序可以方便的调用接口完成BIT位操作。-Converts a string into the corresponding bits of the operation, providing a standard interface, the external procedure call interface can easily complete the BIT bit operations.
ASCII2bin
- 这是一个C++程序,可以将ACII码转换成二进制形式的字符串-This is a C++ code project. You can use this project to chang a ASCII number into a Binary number.
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
inet_addr1
- 若字符串有效则将字符串转换为32位二进制网络字节序的IPV4地址,能实现对应ip地址的转换。源码,方便学习交流-If the string will effectively convert the string to 32 binary network byte order IPV4 address, you can achieve the conversion of the corresponding ip address. Source facilitate learning exchang
TEST5
- 实现与atoi将字符串转换为整数。 提示:仔细考虑所有可能的输入实例。如果你想要一个挑战,请不要见下文,问自己什么是可能的输入实例。 注:它用于将指定隐约这个问题(即没有给定的输入规格)。你是负责收集所有的输入要求锋线。-Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, plea
