wcstok
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
| Defined in header <wchar.h>
|
||
| wchar_t* wcstok( wchar_t* str, const wchar_t* delim ); |
||
strが指すヌルで終了するワイド文字列で次のトークンを検索します。区切り文字はdelimが指すNULLで終わるワイド文字列によって識別されます.Original:
Finds the next token in a null-terminated wide string pointed to by
str. The separator characters are identified by null-terminated wide string pointed to by delim.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
str != NULL場合、この関数は'セパレーターではない最初のワイド文字を検索します。この文字は、トークンのの始まりです。この関数は最初の区切り文字を検索します。この文字は、トークンのエンドです。関数は終了し、トークンの終わりが検出される前にNULLの終わりが検出された場合
strを返します。そうでなければ、トークンの端にポインタが後続の呼び出しのための静的な場所に保存されます。この文字は、その後、NULL文字で置き換え、関数はトークンのの先頭へのポインタを返します。.Original:
If str != NULL, the function searches for the first wide character which is not separator. This character is the beginning of the token. Then the function searches for the first separator character. This character is the end of the token. Function terminates and returns NULL if end of
str is encountered before end of the token is found. Otherwise, a pointer to end of the token is saved in a static location for subsequent invocations. This character is then replaced by a NULL-character and the function returns a pointer to the beginning of the token.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
str == NULL場合、この関数は、以前の呼び出しで中断したところから続けています。以前に保存されたポインタがstrとして渡されているかのように振る舞いは同じです.
Original:
If str == NULL, the function continues from where it left in previous invocation. The behavior is the same as if the previously stored pointer is passed as str.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
| str | - | トークン化するための、nullで終了するワイド文字列へのポインタ
Original: pointer to the null-terminated wide string to tokenize The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| delim | - | 区切り文字を識別する、NULLで終了するワイド文字列へのポインタ
Original: pointer to the null-terminated wide string identifying delimiters The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
調べた文字列の終わりが検出されていない場合、トークンの先頭へのポインタ。さもなければ戻りNULL>
Original:
Pointer to the beginning of a token if the end of examined string has not been encountered. Otherwise returns NULL>
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 注意してください
関数はスレッドセーフではありません.
Original:
The function is not thread safe.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| C++ documentation for wcstok
|

