Location:
Search - string
Search list
Description: 在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 single-precision FloatToString conversion of 4-byte string.
Platform: |
Size: 1024 |
Author: 梁建军 |
Hits:
Description: 适用于关键字等长(比较均匀),最好是整数或字符串的排序-apply to the keyword so long (more uniform), the best is an integer or string ranking
Platform: |
Size: 250880 |
Author: 萌音 |
Hits:
Description: 数字运算,判断一个数是否接近素数
A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value.
Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not.
Input
Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone.
Output
For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise.
Sample Input
10 111
2 110
10 123
6 1000
8 2314
0
Sample Output
yes
yes
no
yes
no-numerical operations, judge whether a few close-A few number n is a number such that the sum of its digits divides itself. For example, 111 n is a number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a number n if the sum of its digits divides its value. Given b (2 lt; = b lt; = 10) and a number in base b, determine whether it n is a number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number n is a number, and "no" otherwise. Sample Input 101112 110 101236 1000 8
Platform: |
Size: 1024 |
Author: 王冠 |
Hits:
Description: NFA的字符串搜索的实例,带分析过程和中间处理信息-NFA search string of examples, with analysis and intermediate processing of information
Platform: |
Size: 41984 |
Author: luoqijun |
Hits:
Description: 为C#做的字符串分析工具,可以有效分析字符串,根据字符串间的各种分隔符如逗号,空格等等进行分析。-done for the C# string analysis tools can effectively analyze string, According to the string between the various separator like a comma, space, etc. for analysis.
Platform: |
Size: 1024 |
Author: 张延佳 |
Hits:
Description: 自己创建的String类重载了String类的+以及实现了其它的一些功能-was created String category Heavy of the String class and the realization of a number of other functions
Platform: |
Size: 268288 |
Author: 陈鑫 |
Hits:
Description: 这个代码是STRING类的声明及实现,因为我认为C++类库中的string类比较庞大,找一个函数需要很长时间,所以用一个简单明了的代替之.-STRING kind of statement and realized, because I think the C library string of relatively large, a function for a very long time. Therefore, the use of a simple and straightforward replaced it.
Platform: |
Size: 2048 |
Author: 卢松 |
Hits:
Description: 完善字符串类的运算符功能
1、 利用运算符重载完善字符串类的运算符功能。如:
串+整数;整数+串;浮点数+串;串-串;串/串 等;
2、 编制一个带菜单的小系统,演示该类的运算符操作。
-perfect string Operators such a function, using Operator perfect string category Operators function. Such as : String Integer; Integer string; Float string; Series-Series; Series/Series; 2, the preparation of a menu with a small system, the demonstration of such Operators operation.
Platform: |
Size: 548864 |
Author: 李昭明 |
Hits:
Description: 简易语法分析程序LL(1)
(1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止;
(2)输入已知文法,由程序自动生成它的LL(1)分析表;
(3)对于给定的输入串,应能判断识别该串是否为给定文法的句型-simple syntax analysis procedures LL (1) (a) on the importation of grammar. it will determine whether to LL (1) grammar, and if so, in turn, (2); Otherwise errors and terminated; (2) the importation of known grammar, automatically generated from the LL (1) Analysis Table; (3) For a given set of input strings should be able to judge whether the identification of the string for a given grammar Sentence
Platform: |
Size: 82944 |
Author: 赵珊珊 |
Hits:
Description: 利用JAVA的encryption和decipher這二個方法來進行字串的加解密!-use JAVA encryption and decipher these two approaches to string the encryption and decryption.
Platform: |
Size: 2048 |
Author: 翁振銘 |
Hits:
Description: 定义一个字符串类String,其私有成员为一个字符串指针。设计构造函数,拷贝构造函数,析构函数,设置新值函数Set, 打印成员值函数Print。借助此String类,将操作符"=="、">"、"<"的重载函数设置为String类的成员函数,实现对操作符"=="、">"、"<"的重载,使之能直接比较两个String类类型的字符串的大小,设计各种情况调用此三个重载操作符。-definition of a string type String, its private members as a string pointer. Design Constructors, the copy constructor and destructor function, install a new function Set, members of Print Print function. String through this type of operator "==",">", "" "Heavy function set to the String class member function, the operator realized "==",">", "" "heavy, so that it can direct comparison of two types of Class String string size, Design of various call this three heavy-duty operator.
Platform: |
Size: 3072 |
Author: gongwen |
Hits:
Description: 在VB中查找和替换字符串的例子程序,哈-in VB search and replace strings of examples of procedures, Kazakhstan
Platform: |
Size: 2048 |
Author: 赵善龙 |
Hits:
Description: 1、 了解系统调用fork()、execl()、exit()、getpid()和waitpid()的功能和实现过程
2、 编写一段程序实现以下功能:
a) 使用系统调用fork()创建两个子进程
b) 父进程重复显示字符串”parent:”,并使用函数getpid()显示自己的进程ID。
c) 两个子进程分别重复显示字符串”child:”,并使用函数getpid()显示自己的进程ID
3、 编写一段程序实现以下功能:
a) 使用系统调用fork()创建一个子进程
b) 子进程显示自己的进程ID和字符串": The child is calling an exec.\n",然后通过execl()调用系统命令ps显示当前运行的进程情况,从而更换自己的执行代码,最后调用exit()结束。
c) 父进程显示自己的进程ID和字符串” ": The parent is waiting for child to exit.\n ",然后调用waitpid()等待子进程结束,并在子进程结束后显示”The parent exit.\n
-1, the understanding of the system call fork (), execl (), exit (), getpid (), and waitpid () function and process 2, write a procedure to achieve the following functions : a) The use of system calls fork () to create two child process b) the parent process repeated string "parent : ", and the use of function getpid () show their ID process. C) two separate child process repeated string "child :" and the use of function getpid () show their ID 3 process, to prepare a process to achieve the following functions : a) The use of system calls fork () to create a child process b) children show their ID process, and the string " : The child is calling an exec. \ n " Then execl () call system commands ps shows currently running process, thereby replacing the execution
Platform: |
Size: 8192 |
Author: |
Hits:
Description: 一个简单而有效的字符串近似匹配算法,与大家共享-a simple and effective approximate string matching algorithms, and share
Platform: |
Size: 3072 |
Author: 彭昱 |
Hits:
Description: 字符串处理源代码,如果在字符串处理中有问题,大家可以参考一下-String source code, if the string processing problems, we can refer to
Platform: |
Size: 26624 |
Author: xmzhang |
Hits:
Description: 一个跨平台的共享字符串类实现,能减少字符串拷贝所花费的时间空间-a cross-platform sharing string class implementation, we can copy a string to spend time and space
Platform: |
Size: 6144 |
Author: zbc |
Hits:
Description: RK算法:Rabin Karp string search algorithm,一种高效的字符串搜索算法-RK algorithm : Rabin Karp string search algorithm, An Efficient Algorithm String Search
Platform: |
Size: 5120 |
Author: zbchun |
Hits:
Description: VHDL的字符串处理函数库,含数字与字符串之间的转换-VHDL string handling functions, containing figures and the conversion between the strings
Platform: |
Size: 4096 |
Author: 王森 |
Hits:
Description: 学生成绩管理系统,用于添加、删除、修改和整理学生成绩。-student performance management system for the addition, deletion, modification and presentation of the performance of their students.
Platform: |
Size: 15360 |
Author: 白学飞 |
Hits:
Description: c++ stl string的使用简易手册卡,方便使用stl时候查询。-c stl string of easy to use manual card to facilitate inquiries stl time.
Platform: |
Size: 40960 |
Author: 东尼 |
Hits:
«
1
2
3
4
56
7
8
9
10
...
50
»