-
Notifications
You must be signed in to change notification settings - Fork 170
new page strtol.md
#1475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
new page strtol.md
#1475
Conversation
⚡ プレビュー (HTML) (更新時刻: 2025-07-17 00:01:41 JST) 変更記事一覧4件の記事が変更されました。 ※ソース (.md) に直接変更のあった記事を列挙しています。グローバル修飾や変換規則の変更による変化は考慮していません。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
日本語推敲
- [`strtoll`](strtoll.md.nolink): 文字列を、基数を指定して`long long`型に変換する | ||
- [`strtoul`](strtoul.md.nolink): 文字列を、基数を指定して`unsigned long`型に変換する | ||
- [`strtoull`](strtoull.md.nolink): 文字列を、基数を指定して`unsigned long long`型に変換する |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- [`strtoll`](strtoll.md.nolink): 文字列を、基数を指定して`long long`型に変換する | |
- [`strtoul`](strtoul.md.nolink): 文字列を、基数を指定して`unsigned long`型に変換する | |
- [`strtoull`](strtoull.md.nolink): 文字列を、基数を指定して`unsigned long long`型に変換する | |
- [`strtoll`](strtoll.md.nolink): 基数を指定して文字列を`long long`型に変換する | |
- [`strtoul`](strtoul.md.nolink): 基数を指定して文字列を`unsigned long`型に変換する | |
- [`strtoull`](strtoull.md.nolink): 基数を指定して文字列を`unsigned long long`型に変換する |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
関連項目の部分の記述は、csdlib.md
にかかれているものを持ってきたのですが、合わせたほうがいいのかなと
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cstdlib の方の説明でそうなっているのには気づいていませんでした。
特に合わせなければならないということもないように思います。現に、既存のページの関連項目で、そのページの関数とリンク先のページの関数の「関係性・違い」を中心にした説明にしている場合も多くあるように思います。例えばシンプルに "long
型版" みたいな感じで。
cstdlib の説明の方を見ると「文字列を~」というのが並んでいるので、その並び方との一貫性で「文字列を」から始めているのは理解できるような気がします。一方で、今回の文脈では、「文字列を、基数を指定してunsigned long
型に変換する」というのは日本語として間違いではないですが、ぎこちないというか余り普通じゃない気がするのですが、私の主観でしょうか。まあ、単に表現の仕方の話なので、最終的な判断はお任せします。
編集しました。 コード例の部分は、関数にしないほうがいいですか? |
特に関数がよくないとかそういうことはないと思います。分かりやすい方で。今回の場合は、現状のように、関数にした方が分かりやすいと思います! |
ご指摘いただいた点を修正しました。 |
すみません、何度も何度も。 |
ページ作成しました。
ご確認ください。