搜索资源列表
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
symmetry
- 输入一个长整数,不使用字符转换,检查是否为对称数, 是显示 TRUE,否显示FALSE.
MAIN 3-DIMENSIONAL CFD-PROGRAM
- #//u(i,j) x方向的速度u;或者θ方向速度uθ #//u(i,j) y方向的速度v;或者径向速度ur'h\K #//pc(i,j) 压力修正 p'[OS #//p(i,j) 压力p-=5-+ #//p(i,j)
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
7
- 一家银行希望采用光学字符识别系统自动读出支票中的账号,组成账号的每个数字都是7段数 位体。一种图象处理软件可以将组成数字的横段和竖段分别转换成ASCII码中的竖线‘|’和下划线 ‘_’。你需要设计一个程序,从扫描转换的结果推测原始的账号,假定: (1)若经扫描转换的某组数字全部保存了正确的数字形式而且满足校验条件,则该组数字就是原 始的账号; (2)9位数中最多只有一位在扫描转换中失去正确的数字形式; (3)扫描转换不会引入额外的数位段。 -A bank wishin
float
- 浮点数互换,字符格式与实际值之间相互转换。-Float swap
main
- 计算机组成补码的加减运算和将字符输入将其转化成十进制再转换成二进制补码-Computer component of the addition and subtraction, and complement the character input to convert it into decimal converted to binary complement
bigint
- 不受计算机字长限制的大整数类BigInt, 能在BigInt之间、 BigInt与int之间能进行+、-、*、/、 等运算,能进行比较,能数字与字符转换。-Computer word length limit is not a big integer class BigInt, between in BigInt, BigInt and int can be+,-,*,/, among other operations, can be compared to numbers and chara
CPPprogram
- 编写程序实现输入整数n,输出如下所示由数字组成的菱形。 输入4×4的数组,编写程序实现: (1)求出对角线上各元素的和; (2)求出对角线上行、列下标均为偶数的各元素的积; (3)找出对角线上其值最大的元素和它在数组中的位置。 用递归法将一个整数n转换成字符串。例如,输入483,应输出字符串“483”。n的位数不确定,可以是任意位数的整 有一字符串,包含n个字符。写一函数,将此字符串中从第m个字符开始的全部字符复制成为另一个字符串。 -Write a progra
caculateword
- 本程序使用状态转换思想统计单词个数,统计单词时共有4种状体可供转化: 1:是字符但不是单词状 2:是字符但是单词状 3:不是字符但是单词状 4:不是字符但不是单词状-This program uses the number of state transitions ideological statistical word statistical word-like body for a total of four kinds of transformation: 1: Yes,
ftoa
- 将浮点型数据转换为字符型数据的函数,在编程需要此功能时可方便调用此函数。-Stresses as a function of floating-point data conversion character data when programming can easily call this function.
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
RomanConvert
- 被转换的阿拉伯数字只限于1-9999,原因大约有两点 1.作者对罗马数字的逻辑规律未作深入探讨,欢迎赐教zngsai@163.com 2.罗马数字上面加一横扩大一千倍的约定不能与计算机的单字符世界很好兼容-Arabic numerals are converted confined 1-9999, there are two reasons 1. The author about the laws of logic is not Roman numeral for in-depth di