|
|
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
Здраствуйте. Вопрос такой, как можно прогнать буквы по их кодам. Например в VB это можно сделать так Код: plaintext 1. 2. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 10:44 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
char a='A'; char b=a+1; Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 10:47 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
А как можно узнать какой длинны строка в классе CString. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 12:37 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
И еще один вопрос если я сделал так Код: plaintext 1. 2. 3. 4. 5. 6. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 12:42 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
BaikalyА как можно узнать какой длинны строка в классе CString. getlength ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 12:46 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
BaikalyМне надо что бы в итоге получилась такая строчка BCB, но вот *tr=ChO это выражение выдает ошибку :(. Что я неправильно делаю? В С/С++ "размер имеет значение", т.е. ch0 и Ch0 - разные переменные! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 13:03 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
Всем спасибо, разорбрался. Просто у меня есть MSDN 2003 года там у класа CString почему то нет функции GetLength(); ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 13:10 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
BaikalyПросто у меня есть MSDN 2003 года там у класа CString почему то нет функции GetLength(); Обманываешь... У меня в MSDN 2000 такая функция описана... А обратная совместимость у мелкомягких всегда была... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.04.2007, 14:28 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
CStringT MembersSee Also CStringT Overview Constructors/Destructors CStringT Constructs a CStringT object in various ways. ~CStringT Destroys a CStringT object. Methods AllocSysString Allocates a BSTR from CStringT data. AnsiToOem Makes an in-place conversion from the ANSI character set to the OEM character set. AppendFormat Appends formatted data to an existing CStringT object. Collate Compares two strings (case sensitive, uses locale-specific information). CollateNoCase Compares two strings (case insensitive, uses locale-specific information). Compare Compares two strings (case sensitive). CompareNoCase Compares two strings (case insensitive). Delete Deletes a character or characters from a string. Find Finds a character or substring inside a larger string. FindOneOf Finds the first matching character from a set. Format Formats the string as sprintf does. FormatMessage Formats a message string. FormatMessageV Formats a message string using a variable argument list. FormatV Formats the string using a variable list of arguments. GetEnvironmentVariable Sets the string to the value of the specified environment variable. Insert Inserts a single character or a substring at the given index within the string. Left Extracts the left part of a string. LoadString Loads an existing CStringT object from a Windows resource. MakeLower Converts all the characters in this string to lowercase characters. MakeReverse Reverses the string. MakeUpper Converts all the characters in this string to uppercase characters. Mid Extracts the middle part of a string. OemToAnsi Makes an in-place conversion from the OEM character set to the ANSI character set. Remove Removes indicated characters from a string. Replace Replaces indicated characters with other characters. ReverseFind Finds a character inside a larger string; starts from the end. Right Extracts the right part of a string. SetSysString Sets an existing BSTR object with data from a CStringT object. SpanExcluding Extracts characters from the string, starting with the first character, that are not in the set of characters identified by pszCharSet. SpanIncluding Extracts a substring that contains only the characters in a set. Tokenize Extracts specified tokens in a target string. Trim Trims all leading and trailing whitespace characters from the string. TrimLeft Trims leading whitespace characters from the string. TrimRight Trims trailing whitespace characters from the string. Operators operator = Assigns a new value to a CStringT object. operator + Concatenates two strings or a character and a string. operator += Concatenates a new string to the end of an existing string. operator == Determines if two strings are logically equal. operator != Determines if two strings are logically not equal. operator < Determines if the string on the left side of the operator is less than to the string on the right side. operator > Determines if the string on the left side of the operator is greater than to the string on the right side. operator <= Determines if the string on the left side of the operator is less than or equal to the string on the right side. operator >= Determines if the string on the left side of the operator is greater than or equal to the string on the right side. See Also CStringT Overview ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.04.2007, 09:19 |
|
||
|
Как можно увеличить букву по ее коду?
|
|||
|---|---|---|---|
|
#18+
Baikalyчто это было ? (С) Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.04.2007, 09:41 |
|
||
|
|

start [/forum/topic.php?fid=57&fpage=300&tid=2029100]: |
0ms |
get settings: |
6ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
50ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
27ms |
get tp. blocked users: |
1ms |
| others: | 216ms |
| total: | 322ms |

| 0 / 0 |
