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

評価: 52 / 0 Reviews / 2012/09/06 13:04:57

日本語

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

英語

wsprintfW has the following arguments.
LPTSTR IpOut, LPCTSTR IpFmt, ...
wsprintf works in almost the same way as sprintf of C.
The first argument is a string buffer that contains the formatted string.
The second argument is a format string that you want to format.
The third and following arguments are strings or numbers that you want to insert.
This time I will insert a number(%d) and a string(%s) into a format string "Param1 = %d, Param2 = %s".

レビュー ( 0 )

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