0
Commenting
commenting in c++ is same as in java!
10 Respuestas
+ 27
Yes.
// for single line
/* for
multiple
lines */
+ 24
@Cyrus, in Python it's different.
# for single line
""" for
multiple
lines """
+ 24
MATLAB:
% Single line
%{
Multiple lines
Where has Desilva gone?
What was his question actually?
What are we doing here? 😂
}%
+ 13
That's correct, now what's your question?
+ 12
/*
You can do
// nested comments
but they don't do much. :>
*/
+ 11
=begin
You can never beat how dank Ruby comments are btw.
=end
+ 8
even on css.
#Edit : Sorry python is different. I ment C++.
+ 8
@Shamima Oh! I just forgot the question. 😜
Answer is Yes, commenting in c++ is same as in java. 😊
+ 7
How about html?
<!-- Worst commenting system ever -->
+ 3
N so does c#, php, javascript and many more 😂