0
Can single line comment begin and end like a multi line comment?
8 Respostas
+ 3
no, because both are different types comment style in c++. And the best way to learn programming is to do it in real
+ 2
There is no need to treat a single line comment like a multiple line comment.
/* I can cause C++ to ignore all of
this text that covers two lines */
// C++ ignores this text, too. //
C++ ignores the last two characters // which add no value to the comment except to make it visually more identifiable
0
yes
0
i really wanna know too...if yes..why?
0
/* endls */
0
yes
- 1
Yes, I think so
- 1
yes