亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? strlib.h

?? 國(guó)外經(jīng)典教材《程序設(shè)計(jì)抽象思想—C語(yǔ)言描述》一書(shū)中的關(guān)鍵性庫(kù)文件
?? H
字號(hào):
/* * File: strlib.h * Last modified on Fri Jul 15 14:10:40 1994 by eroberts * ----------------------------------------------------- * The strlib.h file defines the interface for a simple * string library.  In the context of this package, strings * are considered to be an abstract data type, which means * that the client relies only on the operations defined for * the type and not on the underlying representation. *//* * Cautionary note: * ---------------- * Although this interface provides an extremely convenient * abstraction for working with strings, it is not appropriate * for all applications.  In this interface, the functions that * return string values (such as Concat and SubString) do so * by allocating new memory.  Over time, a program that uses * this package will consume increasing amounts of memory * and eventually exhaust the available supply.  If you are * writing a program that runs for a short time and stops, * the fact that the package consumes memory is not a problem. * If, however, you are writing an application that must run * for an extended period of time, using this package requires * that you make some provision for freeing any allocated * storage. */#ifndef _strlib_h#define _strlib_h#include "genlib.h"/* Section 1 -- Basic string operations *//* * Function: Concat * Usage: s = Concat(s1, s2); * -------------------------- * This function concatenates two strings by joining them end * to end.  For example, Concat("ABC", "DE") returns the string * "ABCDE". */string Concat(string s1, string s2);/* * Function: IthChar * Usage: ch = IthChar(s, i); * -------------------------- * This function returns the character at position i in the * string s.  It is included in the library to make the type * string a true abstract type in the sense that all of the * necessary operations can be invoked using functions. Calling * IthChar(s, i) is like selecting s[i], except that IthChar * checks to see if i is within the range of legal index * positions, which extend from 0 to StringLength(s). * IthChar(s, StringLength(s)) returns the null character * at the end of the string. */char IthChar(string s, int i);/* * Function: SubString * Usage: t = SubString(s, p1, p2); * -------------------------------- * SubString returns a copy of the substring of s consisting * of the characters between index positions p1 and p2, * inclusive.  The following special cases apply: * * 1. If p1 is less than 0, it is assumed to be 0. * 2. If p2 is greater than the index of the last string *    position, which is StringLength(s) - 1, then p2 is *    set equal to StringLength(s) - 1. * 3. If p2 < p1, SubString returns the empty string. */string SubString(string s, int p1, int p2);/* * Function: CharToString * Usage: s = CharToString(ch); * ---------------------------- * This function takes a single character and returns a * one-character string consisting of that character.  The * CharToString function is useful, for example, if you * need to concatenate a string and a character.  Since * Concat requires two strings, you must first convert * the character into a string. */string CharToString(char ch);/* * Function: StringLength * Usage: len = StringLength(s); * ----------------------------- * This function returns the length of s. */int StringLength(string s);/* * Function: CopyString * Usage: newstr = CopyString(s); * ------------------------------ * CopyString copies the string s into dynamically allocated * storage and returns the new string.  This function is not * ordinarily required if this package is used on its own, * but is often necessary when you are working with more than * one string package. */string CopyString(string s);/* Section 2 -- String comparison functions *//* * Function: StringEqual * Usage: if (StringEqual(s1, s2)) ... * ----------------------------------- * This function returns TRUE if the strings s1 and s2 are * equal.  For the strings to be considered equal, every * character in one string must precisely match the * corresponding character in the other.  Uppercase and * lowercase characters are considered to be different. */bool StringEqual(string s1, string s2);/* * Function: StringCompare * Usage: if (StringCompare(s1, s2) < 0) ... * ----------------------------------------- * This function returns a number less than 0 if string s1 * comes before s2 in alphabetical order, 0 if they are equal, * and a number greater than 0 if s1 comes after s2.  The * ordering is determined by the internal representation used * for characters, which is usually ASCII. */int StringCompare(string s1, string s2);/* Section 3 -- Search functions *//* * Function: FindChar * Usage: p = FindChar(ch, text, start); * ------------------------------------- * Beginning at position start in the string text, this * function searches for the character ch and returns the * first index at which it appears or -1 if no match is * found. */int FindChar(char ch, string text, int start);/* * Function: FindString * Usage: p = FindString(str, text, start); * ---------------------------------------- * Beginning at position start in the string text, this * function searches for the string str and returns the * first index at which it appears or -1 if no match is * found. */int FindString(string str, string text, int start);/* Section 4 -- Case-conversion functions *//* * Function: ConvertToLowerCase * Usage: s = ConvertToLowerCase(s); * --------------------------------- * This function returns a new string with all * alphabetic characters converted to lower case. */string ConvertToLowerCase(string s);/* * Function: ConvertToUpperCase * Usage: s = ConvertToUpperCase(s); * --------------------------------- * This function returns a new string with all * alphabetic characters converted to upper case. */string ConvertToUpperCase(string s);/* Section 5 -- Functions for converting numbers to strings *//* * Function: IntegerToString * Usage: s = IntegerToString(n); * ------------------------------ * This function converts an integer into the corresponding * string of digits.  For example, IntegerToString(123) * returns "123" as a string. */string IntegerToString(int n);/* * Function: StringToInteger * Usage: n = StringToInteger(s); * ------------------------------ * This function converts a string of digits into an integer. * If the string is not a legal integer or contains extraneous * characters, StringToInteger signals an error condition. */int StringToInteger(string s);/* * Function: RealToString * Usage: s = RealToString(d); * --------------------------- * This function converts a floating-point number into the * corresponding string form.  For example, calling * RealToString(23.45) returns "23.45".  The conversion is * the same as that used for "%G" format in printf. */string RealToString(double d);/* * Function: StringToReal * Usage: d = StringToReal(s); * --------------------------- * This function converts a string representing a real number * into its corresponding value.  If the string is not a * legal floating-point number or if it contains extraneous * characters, StringToReal signals an error condition. */double StringToReal(string s);#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本久久a久久精品亚洲| 色婷婷av一区| 亚洲最色的网站| 日韩一区二区三| 成人av先锋影音| 久久精品国产免费看久久精品| 中文字幕在线观看一区| 欧美大胆一级视频| 欧美视频三区在线播放| aaa欧美色吧激情视频| 日韩高清不卡一区二区| 亚洲女人的天堂| 国产午夜亚洲精品理论片色戒 | 最新热久久免费视频| 日韩亚洲欧美成人一区| 色综合久久六月婷婷中文字幕| 久久精品国产色蜜蜜麻豆| 亚洲成人免费视频| 亚洲色图欧美偷拍| 欧美韩国日本一区| 26uuu亚洲婷婷狠狠天堂| 欧美精品v国产精品v日韩精品 | 亚洲午夜精品在线| 中文字幕一区二区三区不卡| 久久久99久久精品欧美| 日韩视频永久免费| 欧美精品18+| 欧美日韩精品综合在线| 91天堂素人约啪| 成人激情文学综合网| 国产精品一区二区在线观看网站| 另类综合日韩欧美亚洲| 免费高清在线视频一区·| 亚洲高清免费观看高清完整版在线观看| 中文字幕在线不卡| 国产精品毛片大码女人| 中文字幕精品三区| 国产精品亲子伦对白| 91精品综合久久久久久| 秋霞成人午夜伦在线观看| 亚洲丰满少妇videoshd| 亚洲精品视频免费看| 国产精品免费网站在线观看| 国产亲近乱来精品视频| 久久精品人人做人人综合| 久久综合久色欧美综合狠狠| 久久免费电影网| 久久久国产一区二区三区四区小说| 精品久久久久久久久久久院品网| 欧美成人官网二区| 欧美精品一区二区三区一线天视频 | 奇米色一区二区三区四区| 婷婷六月综合亚洲| 日本午夜精品视频在线观看| 毛片av一区二区| 国产酒店精品激情| 成人永久aaa| 一本到不卡免费一区二区| 欧美亚洲图片小说| 欧美一二三区精品| 国产人成亚洲第一网站在线播放| 国产精品无人区| 亚洲一区自拍偷拍| 日韩成人精品在线观看| 久久国产人妖系列| 暴力调教一区二区三区| 欧美性色黄大片手机版| 欧美一区二区在线播放| 国产日韩欧美综合一区| 亚洲男同1069视频| 青草av.久久免费一区| 国产精品一区二区三区网站| 97久久人人超碰| 51精品视频一区二区三区| 久久综合色8888| 亚洲精品免费看| 麻豆高清免费国产一区| 不卡一区二区三区四区| 欧美区在线观看| 国产情人综合久久777777| 亚洲自拍欧美精品| 精品在线观看免费| 一本大道av伊人久久综合| 3d动漫精品啪啪| 国产精品久久久久毛片软件| 亚洲国产aⅴ成人精品无吗| 国产精品88av| 欧美日韩中字一区| 亚洲国产精品高清| 日韩福利电影在线| 99久久精品情趣| 日韩免费观看高清完整版在线观看| 中文字幕一区二| 久久99精品久久久久久| 在线视频一区二区三| 久久久久成人黄色影片| 亚洲成人免费在线观看| 成人黄色大片在线观看| 欧美一卡二卡三卡| 一区二区三区色| 国产成人精品aa毛片| 欧美一级免费观看| 一区二区三区毛片| 成人av高清在线| 欧美r级在线观看| 香蕉影视欧美成人| 91亚洲精品久久久蜜桃| 久久精品亚洲国产奇米99| 天堂资源在线中文精品| 色婷婷国产精品久久包臀| 国产日韩欧美精品一区| 麻豆精品在线播放| 欧美日韩国产小视频在线观看| 亚洲欧美综合另类在线卡通| 国产精品资源网站| 日韩一二三区视频| 丝袜脚交一区二区| 在线观看91视频| 亚洲精品一二三| 99久久99久久精品免费观看| 国产欧美日本一区视频| 国产麻豆精品在线| 精品久久久久香蕉网| 免费成人在线观看| 欧美一区日韩一区| 三级一区在线视频先锋| 欧美日韩日日摸| 亚洲国产综合在线| 欧美在线三级电影| 亚洲最大成人网4388xx| 色婷婷综合在线| 夜夜精品视频一区二区| 色网站国产精品| 伊人夜夜躁av伊人久久| 91老司机福利 在线| 亚洲蜜臀av乱码久久精品 | 成人性生交大片免费看在线播放| 亚洲精品一区二区三区影院| 久久精品二区亚洲w码| 精品国产制服丝袜高跟| 国内精品久久久久影院薰衣草 | 麻豆高清免费国产一区| 日韩欧美国产小视频| 麻豆视频观看网址久久| 久久综合狠狠综合久久激情| 国内欧美视频一区二区| 久久久精品2019中文字幕之3| 国产精品一区二区无线| 亚洲小说春色综合另类电影| 欧美性欧美巨大黑白大战| 午夜精品视频一区| 日韩女同互慰一区二区| 国产一区不卡视频| 国产精品午夜免费| 日本精品一区二区三区四区的功能| 一区二区三区四区精品在线视频| 欧美日韩aaa| 六月丁香综合在线视频| 亚洲国产精品t66y| 色婷婷综合久久久久中文一区二区| 亚洲一二三区视频在线观看| 日韩视频一区二区在线观看| 国产精品亚洲午夜一区二区三区 | 日韩精品一区第一页| 日韩一区二区三区免费看 | 一区二区三区.www| 欧美久久久久久久久久| 久久国产婷婷国产香蕉| 国产精品视频一二三| 欧美三级日韩在线| 久久精品国产免费看久久精品| 久久久99久久精品欧美| 色综合天天在线| 91福利在线播放| 日本伊人精品一区二区三区观看方式| 精品国产免费一区二区三区香蕉| 不卡av电影在线播放| 亚洲成年人网站在线观看| 久久久久久97三级| 欧美日韩一区视频| 国产精品99久久久久久似苏梦涵| 日韩视频中午一区| 色欲综合视频天天天| 久久成人免费电影| 伊人一区二区三区| 久久久久久久久久久久久久久99 | 久久久精品黄色| 欧美日韩精品系列| 丰满放荡岳乱妇91ww| 日韩国产欧美在线观看| 亚洲欧洲国产专区| 精品美女在线播放| 欧美色图免费看| 高清成人免费视频| 麻豆国产一区二区| 亚洲综合免费观看高清完整版在线| 久久久久久免费网| 91精品国产综合久久福利软件 | 日韩你懂的在线播放| 欧美亚州韩日在线看免费版国语版|