Translator Reviews ( Japanese → English )

Rating: 52 / 0 Reviews / 06 Sep 2012 at 13:04

Japanese

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

English

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".

Reviews ( 0 )

There are no translator reviews yet.
Additional info: C言語のプログラミングの知識がある方、お願いします