+ 5

How do you make a comment in different languages?

I think one language (Java?) uses // before the line, others (like cmd commands on the computer) use a keyword, as I recall. How do you null a line into a comment, rather than active code? Please give specific examples, naming the language which uses it.

26th Nov 2017, 7:23 PM
Caleb Hale
Caleb Hale - avatar
5 ответов
+ 6
C# also use // for one line coment
26th Nov 2017, 7:40 PM
Vukan
Vukan - avatar
+ 3
To each language its own. some use #. some // some * some /*..... bla bla blal */ In Cobol its specificly * on position 6 of the line.
26th Nov 2017, 8:17 PM
Amir Galanty
Amir Galanty - avatar
+ 2
# MASM single line comment * multi-line *
26th Nov 2017, 10:16 PM
Manual
Manual - avatar
27th Nov 2017, 4:36 PM
Martin Mawira
Martin Mawira - avatar
0
easy
24th Apr 2018, 10:00 PM
Flame 1234
Flame 1234 - avatar