[Translation from Japanese to English ] wsprintfW has the following arguments. LPTSTR lpOut , LPCTSTR lpFmt , ... ...

This requests contains 219 characters . It has been translated 2 times by the following translators : ( kei_k , yashiro148 , cuavsfan ) and was completed in 3 hours 19 minutes .

Requested by akihito at 06 Sep 2012 at 09:09 3096 views
Time left: Finished

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

cuavsfan
Rating 67
Native
Translation / English
- Posted at 06 Sep 2012 at 09:18
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)
akihito likes this translation
cuavsfan
cuavsfan- over 11 years ago
このページも参考になると思います。
http://msdn.microsoft.com/en-us/library/windows/desktop/ms647550%28v=vs.85%29.aspx
yashiro148
Rating 52
Translation / English
- Posted at 06 Sep 2012 at 13:04
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".
akihito likes this translation
kei_k
Rating 50
Translation / English
- Posted at 06 Sep 2012 at 12:28
wsprintfW takes parameters as below;
LPTSTR lpOut , LPCTSTR lpFmt , ...
wsprint works almost as same as sprintf in C string.
The first parameter is a buffer to store string after formatting.
The Second parameter is the string you want to format.
And after the third parameter, you can pass something like string, number or so of which you want to insert into the string. Now, let's insert number(%d) and string(%s) by using the expression as below:
"Param1 = %d , Param2 = %s"
akihito likes this translation

Client

Additional info

C言語のプログラミングの知識がある方、お願いします

Try “Standard Translation” for specialized translation such as business purpose.

  • We can receive files such as Word, Excel, and PowerPoint.
  • There is no maximum word limit, and we deliver translations fast.
  • Higher-skilled translators will work on your request.

Feel free to contact
anytime