Location:
Search - char to string
Search list
Description: 经典:用API 作简繁体转换 1. 输入Big5字符,返回Gb简体字符 //--------------------------------------------------------------------------- //函数输入Big5字符,返回Gb简体字符 //--------------------------------------------------------------------------- AnsiString __fastcall Big2Gb(AnsiString sBig) { char* pszBig5=NULL //Big5编码的字符 wchar_t* wszUnicode=NULL //Unicode编码的字符 char* pszGbt=NULL //Gb编码的繁体字符 char* pszGbs=NULL //Gb编码的简体字符 AnsiString sGb //返回的字符串 int iLen=0 //需要转换的字符数-classic : A Brief History API for a change. Input Big5 characters return Gb English characters //---------------------------------------// Function input characters Big5 return Gb English characters //--------------------------------------------------------------------------- AnsiString __fastcall Big2Gb (AnsiString sBig) (char* pszBig5 = NULL// Big5 Coding wchar_t characters wszUnicode = NULL*// Unicode character encoding pszGbt char = NULL*// Gb coding of traditional characters pszGbs char = NULL*// Gb coding simplified characters AnsiString sGb// int iLen string = 0// need to change to the number of characters
Platform: |
Size: 1024 |
Author: WT |
Hits:
Description: 该程序能让你将一个小数的整数部分每个三位加一个逗号显示。很好的字符串处理小程序。-The program allows you to a decimal integer part of each of the three shows plus a comma. Very good deal with a small string procedures.
Platform: |
Size: 1887232 |
Author: walkman1984 |
Hits:
Description: 提取工程文件,窗体文件,和pas文件的字符串,以方便做多国语言。-Extraction of the project documents, form documents, and the pas file string to facilitate multi-language to do.
Platform: |
Size: 181248 |
Author: sdaklfjkl |
Hits:
Description: 自己写的二进制编辑器.二进制阅读器.类似于ultra Edit.
功能:decimal,hexadecimal,char:
十进制显示,十六进制显示.字符串显示.
十进制查找,十六进制查找.字符串查找.十进制替换,十六进制替换.字符串替换.-Write your own binary editor. Binary reader. Similar to ultra Edit. Function: decimal, hexadecimal, char: Decimal show hexadecimal display. String display. Find decimal, hexadecimal find. String to find. Replacement decimal, hexadecimal replacement. Replacement string.
Platform: |
Size: 53248 |
Author: fdsa |
Hits:
Description: 本文关键词: c++ 字符串 函数
char *strcpy(char *s1, const char *s2)
将字符串s2复制到字符串数组s1中,返回s1的值
char *strncpy(char *s1, const char *s2, size_t n)
将字符串s2中最多n个字符复制到字符串数组s1中,返回s1的值-This article Keywords: c++ String function char* strcpy (char* s1, const char* s2) will copy the string s2 to string s1 in the array, the value of s1 return char* strncpy (char* s1, const char* s2, size_t n) string s2 to be the most n characters are copied to the array string s1, the return value of s1
Platform: |
Size: 2048 |
Author: 甄子丹 |
Hits:
Description: 各种基本数据类型转换源程序。
本程序涉及到的数据类型有:float, int , char, string.-A variety of basic data type conversion source. This procedure involves the data types are: float, int, char, string.
Platform: |
Size: 107520 |
Author: Steno |
Hits:
Description: 一直在犹豫,到底是用string 来当参数呢,还是用char *来当参数呢?现在还没有实现重定向和批处理-Has been hesitant to come in the end is when the parameters of string, or char* to use it when the parameters? Has yet to achieve the redirection and batch
Platform: |
Size: 2048 |
Author: youyou |
Hits:
Description: 自己写的一个函数,作用:将十六进制的char字符串转换成宽字符中文,然后自己再uincode转ascii就可以转成中文输出了。-Writing a function of their role: to be the char hex string into a wide English characters, then their re-ascii on uincode turn can be transformed to the output of the English.
Platform: |
Size: 6144 |
Author: |
Hits:
Description: 本程序主要供学习C语言的初学者应用,其功能是输入一个字符串,然后降末尾的*号删除-This procedure primarily for beginners to learn C language applications, and its function is to enter a string, and then down at the end of the deletion of an asterisk
Platform: |
Size: 2048 |
Author: 程冬水 |
Hits:
Description: 提供一个copyString函数,复制字符串,能够实现char与wchar之间的字符串的互相复制,亦可实现相同格式的字符串之间的复制-CopyString provide a function to copy strings, can be achieved between the char and wchar string to copy each other, can also achieve the same format of the string copied between
Platform: |
Size: 1024 |
Author: 冮朋 |
Hits:
Description: 基于VB6.0串口通讯中的232字符串处理-Serial Communication Based on VB6.0 string in 232 to deal with
Platform: |
Size: 1842176 |
Author: |
Hits:
Description: 一个简单的小程序,使用GDI将emf文件转化为wmf文件。-A simple program that converts EMF to WMF using GDI+. This project can also be used as a simple kick-off for a console GDI+ program.It can be useful as a basic command line tool or as a starting off point for writing a GDI+ program. It also has an example of char to wchar string conversion.
Platform: |
Size: 3072 |
Author: avi |
Hits:
Description: 6. 编写一个函数find_replace_str,其原型如下:
int find_replace_str(char str[],
const char find_str[],
const char replace_str[])
要求:该函数能够完成把字符串str中的所有子串find_str都替换成字符串replace_str,返回值为替换的次数。
-Six. Write a function find_replace_str, whose prototype is as follows: int find_replace_str (char str [], const char find_str [], const char replace_str []) requirements: This function is able to complete all of the string str substring find_str all replacement a string replace_str, the return value is replaced more frequently.
Platform: |
Size: 841728 |
Author: 周 |
Hits:
Description: 1.包含客户端和服务器两部分程序,并且两个程序能分开独立运行。
2.客户端可以输入服务器地址和端口,连接服务器。
3.客户端可以往服务器发送信息。
4.服务器能接受客户端连接,并输出客户端发送过的字符串。
5:用图形化界面展现客户端和服务器通讯的效果 -1. Contains two parts, client and server programs, and separate the two processes can run independently. 2. Clients can enter the server address and port, connect to the server. 3. Client can send a message to the server. 4. Server can accept client connections, and output the client sent a string. 5: The graphical interface shows the client and server communication effectiveness
Platform: |
Size: 2048 |
Author: xz |
Hits:
Description: 运用简单的方法,实现C#中字符数组转字符串数组-Simple method used to achieve the character array to a C# string array
Platform: |
Size: 34816 |
Author: 马永兵 |
Hits:
Description: Code C and program to test strings and char variables.
Platform: |
Size: 11264 |
Author: avlsicom |
Hits:
Description: 设计一个栈,要求如下:
1、使用模版技术实现,要求该栈内能存储各种数据类型如int、char、string以及自定义类型
2、设计一个基类,基类定义栈的所有接口,子类来具体实现
3、每个子类使用不同类型的容器来组织底层数据-Design a stack requirements are as follows: 1, using template technology, requires that the stack can store various data types such as int, char, string, and custom type 2, the design of a base class, base class defines all of the interface stack, sub- concrete realization of class 3, each sub-class of different types of containers used to organize the underlying data
Platform: |
Size: 1062912 |
Author: ychy |
Hits:
Description: 设计一个栈,要求如下:
1、使用模版技术实现,要求该栈内能存储各种数据类型如int、char、string以及自定义类型
2、设计一个基类,基类定义栈的所有接口,子类来具体实现
3、每个子类使用不同类型的容器来组织底层数据-Design a stack requirements are as follows: 1, using template technology, requires that the stack can store various data types such as int, char, string, and custom type 2, the design of a base class, base class defines all of the interface stack, sub- concrete realization of class 3, each sub-class of different types of containers used to organize the underlying data
Platform: |
Size: 898048 |
Author: nicai |
Hits:
Description: The DocPolynom to Character Converter
The char method produces a character string that represents the polynomial displayed as powers of an independent variable, x. Therefore, after you have specified a value for x, the string returned is a syntactically correct MATLAB expression, which you can evaluate.
The char method uses a cell array to collect the string components that make up the displayed polynomial.
The disp method uses char to format the DocPolynom object for display. Class users are not likely to call the char or disp methods directly, but these methods enable the DocPolynom class to behave like other data classes in MATLAB.
Here is the char method.
- The DocPolynom to Character Converter
The char method produces a character string that represents the polynomial displayed as powers of an independent variable, x. Therefore, after you have specified a value for x, the string returned is a syntactically correct MATLAB expression, which you can evaluate.
The char method uses a cell array to collect the string components that make up the displayed polynomial.
The disp method uses char to format the DocPolynom object for display. Class users are not likely to call the char or disp methods directly, but these methods enable the DocPolynom class to behave like other data classes in MATLAB.
Here is the char method.
Platform: |
Size: 1024 |
Author: sabah_altaie |
Hits:
Description: 字符串转十六进制小程序,方便开发人员使用。-String to hexadecimal sixteen small procedures, facilitate the development of staff to use.
Platform: |
Size: 1024 |
Author: 赵晓春 |
Hits: