翻訳者レビュー ( 日本語 → 英語 )

評価: 67 / ネイティブ 英語 / 0 Reviews / 2012/09/06 09:18:30

cuavsfan
cuavsfan 67 I passed Japanese Language Proficienc...
日本語

wsprintfW は 次の引数を持っています。
LPTSTR lpOut , LPCTSTR lpFmt , ...
wsprintfは、C言語のsprintfとほぼ同等の働きをします。
第1引数には整形後の文字列を格納する文字列バッファ
第2引数には整形したい書式文字列
第3引数以降には埋め込みたい文字列なり数値なり
今回は "Param1 = %d , Param2 = %s"という書式で数値(%d)と文字列(%s)を埋め込みます。

英語

wsprintfW has the following arguments.
LPTSTR lpOut , LPCTSTR lpFmt , ...
sprintf works almost exactly the same as sprintf in the C language.
First argument: buffer that will store the formatted output
Second argument: string specifying desired format
Third argument (and additional arguments): strings and values you want to embed
This time we will embed the phrase "Param1 = %d , Param2 = %s" with a number (%d) and a string (%s)

レビュー ( 0 )

翻訳者レビューはまだありません
備考: C言語のプログラミングの知識がある方、お願いします