[日本語から英語への翻訳依頼] wsprintfW は 次の引数を持っています。 LPTSTR lpOut , LPCTSTR lpFmt , ... wsprintfは、C言語...

この日本語から英語への翻訳依頼は cuavsfan さん yashiro148 さん kei_k さんの 3人の翻訳者によって翻訳され、合計 2件の翻訳が投稿されました。 依頼の原文の文字数は 219文字 で、翻訳完了までにかかった時間は 3時間 19分 です。

akihitoによる依頼 2012/09/06 09:09:02 閲覧 3114回
残り時間: 終了

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

cuavsfan
評価 67
ネイティブ
翻訳 / 英語
- 2012/09/06 09:18:30に投稿されました
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さんはこの翻訳を気に入りました
cuavsfan
cuavsfan- 12年弱前
このページも参考になると思います。
http://msdn.microsoft.com/en-us/library/windows/desktop/ms647550%28v=vs.85%29.aspx
yashiro148
評価 52
翻訳 / 英語
- 2012/09/06 13:04:57に投稿されました
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さんはこの翻訳を気に入りました
kei_k
評価 50
翻訳 / 英語
- 2012/09/06 12:28:13に投稿されました
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さんはこの翻訳を気に入りました

クライアント

備考

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

ビジネス目的などより専門性の高い翻訳にはStandard翻訳

  • Word、Excel、PowerPointなど様々なファイル形式に対応
  • 文字数の上限がなく、素早い納品
  • よりスキルの高い翻訳者が担当

まずはお気軽に
お問い合わせください。