RU/2: Форум. Общение пользователей и разработчиков OS/2 (eCS). : Ответить на сообщение
Имя:
e-mail:
FIDO:
Home page:
сохранить данные о вас
Тема:
> > Господа, объясните тупому мне: > > надо преобразовать массив шестнадцатиричных значений в строку, т.е. "\xF1\x3D" -> "F13D". На Си это:sprintf(temp,"%x", hexvalue); > на IOC это: c2x() > ------------------------------------- > Converts a normal string of characters to a string of hexadecimal digits. For example, this function changes "a" to 61 and "ab" to 6162 or "a" to 81 and "ab" to 8182. > Note: This function is not locale-sensitive. > > Overload 1 > > public: > static IString c2x(const IString& aString) > > > Overload 2 > public: > IString& c2x() > >
__, _,_ _, __, ___,
|_) | | | |_ ` /
| \ | | | , | /
~ ~ `~' ~~~ ~~~ ~~~
Programmed by
Dmitri Maximovich
,
Dmitry I. Platonoff
,
Eugen Kuleshov
.
25.09.99 (c) 1999,
RU/2
. All rights reserved.
Rewritten by
Dmitry Ban
. All rights ignored.