文件名 文件描述 浏览
◆ CStringInANutshell.htm

在Nutshell中的字符串类

CString In A Nutshell

浏览
◆ BASIC-like string functions.htm

基本的字符串函数

BASIC-like string functions

浏览
◆ BeginnersCode.htm

输入字符串和输出字符串到文件的代码

Program inputs a string & prints it out backwards to a file. Found at http://users.neca.com/jboxall/ja05002.htm

浏览
◆ BinarytoDecimal.htm

二进制与十进制互换的计算器

Converts binary strings to decimal integar values and decimal numbers to binary strings. A demonstration of for and while loops

浏览
◆ Case-insensitive.htm

strstr()函数的ANSI版本

StriStr--This function is an ANSI version of strstr() with case insensitivity

浏览
◆ Delete a section of a string.htm

用于从字符串中移动具体字符的C函数STRDEL.C

- Removes specified characters from a string

浏览
◆ Deletechar.htm

在字符串中删除具体的字符

Delete specific character(s) in a string

浏览
◆ Encrypter - It Encrypts Strings.htm

This is a useful small encrypter and will encrypt stuff(strings) that you want.Pretty cool,check it out

对字符串进行加密的加密器

浏览
◆ extract substrings.htm

Gives the programmer the ability to extract sub strings without modifying the original

提取子串的代码

浏览
◆ FERRORF.C.htm

Has ferrorf() and cant() for formatted error messages

格式化错误信息的函数:ferrorf() 和 cant()

浏览
◆ Fibonacci Generator.htm

This program generates a fibonacci sequence starting with any arbitrary number and going until the next number would hit 10000. demonstrates well the use of while.

产生fibonacci数列的程序

浏览
◆ fileonly.htm

Strip directory stuff off a filename and return a pointer to the name portion.

提取文件名并返回指针给文件名

浏览
◆ FormatUSdollar.htm

FMTMONEY.C - Format a U.S. dollar value into a numeric string

把美元值格式为数值字符的C函数

浏览
◆ FSCANBIN.C.htm

Scan binary fields via format string

通过格式字符串来扫描二进制域的C函数

浏览
◆ Fuzzy string search.htm

Fuzzy string searching subroutines

搜索子程序的模糊字符串

浏览
◆ Get a CString of any length.htm

This function returns a c string pointer that has the entire input line up to the first enter. Great for getting things when you don't know how long they might be

返回C字符串指针的函数

浏览
◆ Get Filename from a path.htm

I saw a file that someone posted to get the filename out of a path. I just decided to try doing it a little more neatly

从路径得到文件名

浏览
◆ Headerfile.htm

Header file for SNIPPETS string manipulation functions. How do the plural_text(), plural_text2(), and plural_text3() macros work? A: OK, it's pretty straightforward. The thing relies on two defined behaviors of standard C: 1. Logical comparison operators return 0 for false and 1 for true. Although any non-zero value will test true, logical comparisons are defined to return (int)1. 2. A quoted string is simply a shorthand method of defining an anonymous constant array of char whose length is that of the string plus one for the terminating NUL character

SNIPPETS字符串控制函数的头文件

浏览
◆ Isisbn.C.htm

Validate ISBN (book) numbers

验证国际标准图书编号的C函数

浏览
◆ lcsp.cpp string permutations.htm

tells you the number of *different* permutations of a string. Click Luke to go to my Web Page: other source code available...

不同的字符串排列的.cpp文件源代码

浏览
◆ lcsstr.cpp.htm

Sort a string in alphabetical order. Click Luke to go to my Web Page: other source code available...

以字母顺序排列字符串的.cpp文件源代码

浏览
◆ letter count in string.htm

This code displays the number of times each letter in a string occurs

.显示字符串中的字母数目的代码

浏览
◆ Letter position in alphabet.htm

this code finds the position of a letter in the alphabet

寻找在字母表中字母位置的代码

浏览
◆ LikeANSI_ISO.htm

Finds the last occurrence of any characters from szChars found in szString.

从在szString中建立的szChars中寻找最后出现的字符的函数

浏览
◆ Lv1Ws.C.htm

Convert all whitespace in a string to single spaces

把字符串中所有空白转换为单个空白的C函数

浏览
◆ Makestringsutable.htm

This code places a line feed and carage return in a string where ever it finds a '_' so thtat the string can be used for multiple lined data where a simple /n will not work

使字符串适合于多行应用的代码

浏览
◆ make your own strlen function.htm

make your own strlen function!. if you dont know what strlen is it is used to return the number of characters in a string using string.h but with this code you can make your own strlen function without using string.h

生成你自己的strlen函数的代码

浏览
◆ maxn.htm

This function template (and explicit specialization) will go through an array of any generic type and find the largest value in the array. If there are two matching largest values, the first one is returned. The specialization is for an array of char*. This returns the string with the longest length in the array. Again, if there are two strings in the array with the same length, it will return the first one (iow, the one with the lower index).

在数组中寻找最大值的函数模板

浏览
◆ name of exe.htm

Quite possibly the easiest way to determine the name of the program that you are running.

判断运行程序文件名的简易方法

浏览
◆ NEW -- wildcard string compare .htm

matches a string against a wildcard string such as "*.*" or "bl?h.*" etc. This is good for file globbing or to match hostmasks. My previous post on wildcards is bloated and should be replaced with this function.

通配符字符串比较

浏览
◆ Palindrome Detector.htm

Checks strings to validate as palindromes(words or phrases that are the same backwards as forwards).

字符串的回文检测器

浏览
◆ Parse a date string.htm

PARSDATE.C - A simple parser to extract dates from strings.

从字符串中提取日期的简易解析器

浏览
◆ Parse a time string.htm

PARSTIME.C - A simple parser to extract times from strings.

从字符串中提取时间的简易解析器

浏览
◆ piglatin.c.htm

This programs demonstrates manipulation of character arrays.

字符数组的处理程序

浏览
◆ Portablepublic.htm

Portable strupr() strlwr()

对strupr() & strlwr()的公有域名替换

浏览
◆ Print Strings Backwards.htm

This code takes a string and then prints it backwards.

获取字符串然后向后打印的代码

浏览
◆ Removetrailing.htm

Remove trailing whitespace from a string.

从字符串中移动空白

浏览
◆ Replaceonestring.htm

strrepl: Replace OldStr by NewStr in string Str contained in buffer of size BufSiz. Str should have enough allocated space for the replacement - if not, NULL is returned. Str and OldStr/NewStr should not overlap. The empty string ("") is found at the beginning of every string.

在给定的缓冲区中替换字符串

浏览
◆ Reverseastring.htm

STRREV.C - reverse a string in place

颠倒一个字符串的C函数

浏览
◆ Revised String Randomizer.htm

this code accepts a string as input, then prints the string on the screen with the letters randomly jumbled.

字符串随机发生器代码

浏览
◆ Rmallws.C.htm

Remove all whitespace from a string

从字符串中移动所有空白的函数

浏览
◆ Rmlead.C.htm

Remove leading whitespace from a string

从字符串中移动第一个空白的函数

浏览
◆ Search for a SubSrting within a string.htm

this function returns the index of where a substring can be found within a string

在字符串中搜索子串的函数

浏览
◆ Set a string after it has been declared.htm

This code sets a string to a value (i.e. "Hello) after it has been declared (char[80] string).

给一个已声明的字符串设置值的代码

浏览
◆ Simple String Reverser.htm

This is just a simple string reverser I made, it's alot more complicated because it just doesn't move everything to the end and you end up with alot of spaces.

简单的字符串反转器

浏览
◆ simplegrep.htm

Simplified version of grep

UNIX工具程序的简化版本

浏览
◆ Sstrcpy.C.htm

strcpy() and strcat() work-alikes which allow overlapping buffers.

允许重叠缓冲区的C函数

浏览
◆ Text Editor.htm

IT IS SIMPLE LINE ORIENTED TEXT EDITOR

基于行的文本编辑器

浏览
◆ sstrdel().htm

Public domain by Shamim Islam Usage: sstrdel(char * s,char * del0,del1...deln) Remarks: sstrdel takes a string s, and removes all occurrences of the substrings del0, del1, ... deln Return: sstrdel returns a pointer to the string s, unless s is NULL. sstrdel will return a NULL for this exception. Comment: Use sstrdel to remove a list of substrings from a string. sstrdel matches the largest substring for deletion, if more than one substring matches a particular portion of the string s. NOTE: The last element in the variable substring list MUST be NULL or your program will have a high likelihood of hanging

删除多个子串的函数

浏览
◆ stptok().htm

public domain by Ray Gardner, modified by Bob Stout You pass this function a string to parse, a buffer to receive the "token" that gets scanned, the length of the buffer, and a string of "break" characters that stop the scan. It will copy the string into the buffer up to any of the break characters, or until the buffer is full, and will always leave the buffer null-terminated. It will return a pointer to the first non-breaking character after the one that stopped the scan

在字符串中的符号化函数

浏览
◆ str_functions.htm

this code is to write your own string functions for - string compare,string length,string copy and string concatenation without using the ones found in string.h

编写自己的字符串函数代码

浏览
◆ str_manipulation.htm

this code takes a string and does the following: checks the no. of chars,checks the no. of vowels,converts to uppercase(using own function),converts to lowercase(using own function),reverses the word entered, chhecks if string entered is a palindrome,checks how many times a target word entered occurs in string

得到一个字符串然后处理的代码

浏览
◆ STRCHCATAppend.htm

Original Copyright 1990-95 by Robert B. Stout as part of the MicroFirm Function Library (MFL) The user is granted a free limited license to use this source file to create royalty-free programs, subject to the terms of the license restrictions specified in the LICENSE.MFL file. NOTE: The name of this funtion violates ANSI/ISO 9899:1990 sec. 7.1.3, but this violation seems preferable to either violating sec. 7.13.8 or coming up with some hideous mixed-case or underscore infested naming. Also, many SNIPPETS str---() functions duplicate existing functions which are supported by various vendors, so the naming violation may be required for portability.

添加一个字符到字符串的C函数

浏览
◆ STRECPYLike.htm

STRECPY.C - A form of strcpy() where the result returned is the NUL terminating character of the first argument. In many cases this function is more efficient than the equivalent strcpy, followed by strcat

返回指针到NUL中的strcpy()函数

浏览
◆ string array.htm

Very good practice to understand arrays; adding, deleting,displaying sorting and searching strings;and using "switch" structure. Creates a student list of 20. User can add , display, delete names, apply bubble sort and binary search

适合于理解数组的字符串数组

浏览
◆ String Functions.htm

This header file contains functions to: Return the n number of characters from the left/right of a character string, remove trailing and leading spaces and replace a character with a string that is specified. The functions are pretty straight forward.

字符串函数

浏览
◆ String Replace.htm

General purpose string replacement utility. http://www.cs.latrobe.edu.au/~yuand/ansi_c/index.html

通用的字符串替换工具

浏览
◆ Stringiz.H.htm

Macros to use the ANSI/ISO preprocessor "stringize" macro

使用ANSI/ISO预处理器的宏

浏览
◆ Strings to lower and uppercase.htm

Code to make a string uppercase and lowercase

构造字符串大小写字母的代码

浏览
◆ strrev.c.htm

input a string and reverse it... Just shows how easy it is to reverse the string.. you don't need a new storage for the reversed string

输入一个字符串然后颠倒它的函数

浏览
◆ strrtrim.htm

Removes trailing spaces from the end of a string. See "trim" to remove leading spaces

从一个字符串的末端移动空白

浏览
◆ strtran().htm

search string for substring then replace it

从子串中搜索字符串然后替换它

浏览
◆ Swaping Values in an Char Array.htm

This program loops through a char array and if a condition is met it changes it to a different. Everyone has seen hacker talk( ex: "l33t" ), well this example loop through the array and if it finds a '3' it swaps it to be a 'e'. Its nothing big, but a good example about arrays. Right now the source is just made to look for the number '3', feel free to change it to meet you personal needs ( Just follow the way the '3' if statement is set up :). Have fun!!

在一个字符数组中交换值

浏览
◆ The Name Game.htm

This code demonstrates how to manipulate individual characters in strings

在字符串中控制个别字符的代码

浏览
◆ Translatestring.htm

Interprets a string in a manner similar to the way the compiler does string literals in a program. All escape sequences are longer than their translated equivalent, so the string is translated in place and either remains the same length or becomes shorter

以适合编译器的方式解释字符串

浏览
◆ trim.htm

Strips spaces from front of string. Also see strrtrim to remove the spaces off the end

从字符串的前端来消除空白

浏览
◆ TRIM.C.htm

Trim leading, trailing, & embedded spaces

整理空白的函数

浏览
◆ Upper to Lower,Lower to Upper.htm

This program reads a string and then converts upper case letters to lower case, and lower case letters to upper case

读一个字符串然后把字符的大小写进行互换的程序

浏览
◆ wendy's code.htm

i have changed user wendy's code around now it accepts space in string and more compactwendy

代码

浏览
◆ wildcard string compare.htm

Lets you compare strings with wildcards.

用通配符比较字符串

浏览
◆ word shooter.htm

It pops out all the words from a dynamically created string.It signals the user when nop more words remain to be popped out.

从动态创建的字符串中得到单词

浏览
◆ Xstrcat.C.htm

String concatenation function

字符串串联函数

浏览
◆ Zalgorithm.htm

This well let yout ake a string thats a hexvalue and turn it into a integer. This is only valueable cause atoi wont convert values that are in base 16. This algorithm is only slightly different from the one in masterstring so that it isnt depdent on my library. Only requires string.h

转换十六进制字符串为一个整数的算法

浏览