Skip to content

**** ****

for my bad memories..

Posts Tagged ‘string’

[태그:] string

SDS 라이브러리 홈페이지: https://github.com/antirez/sds C용 스트링 처리 라이브러리. Concatenating, Formatting, Trimming strings and getting ranges, Fast number to string operations, String copying, Quoting strings, Tokenization, String joining.. 을 지원 아래는 concat의 예제로 메모리를 자동으로 동적 할당.

[태그:] string

easyzlib은 libz 라이브러리를 이용하여 간단하게 스트링을 압축할 수 있는 API를 제공하는 라이브러리이다. easyzlib는 아래에서 다운로드 가능함. http://www.firstobject.com/easy-zlib-c++-xml-compression.htm easyzlib.zip 아래에 간단하게 테스트해본 예제.

[태그:] string

c_str: Returns a pointer to the string data (const char* in ANSI build, const wchar_t* in Unicode build). mb_str: Returns multibyte (C string) representation of the string. In Unicode build, converts using conv’s cWC2MB method and returns wxCharBuffer. In ANSI build, this function is same as c_str.