0

Commenting

commenting in c++ is same as in java!

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