Created
April 28, 2020 06:55
-
-
Save todorok1/bb4f9ea82773e8f662146618cd50cc2b to your computer and use it in GitHub Desktop.
コメント文の書き方(おさらい)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// コメント文を書くときには「//」を使おう。 | |
int comment = 0; // 行の途中からでもコメント文を書けます。 | |
/* | |
複数行に渡ってコメントを書きたいときには | |
スラッシュとアスタリスクを組み合わせます。 | |
*/ | |
// 複数行のコメントを書くときには | |
// こちらの方法でもOK。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment