User forums > General (but related to Code::Blocks)
Issue with block comment scopes
perento:
I hope here is the place to post this, if not sorry.
Block comment scopes doesnt work like the normal scopes for example () or {}
If i have,
--- Code: ---/* stuff */
--- End code ---
but then i add another block of comment that i want the 'stuff' comment to be inside the new one, like this
--- Code: ---/* <- start of top scope
...
/* stuff */ // <- top scope ends here
this area remain un-comented */ // <- usualy scopes should end here
--- End code ---
The other type of scopes dont work like so?
zabzonk:
Neither C nor C++ support nested comments.
perento:
Why so, they should be maded like scopes but seems they aren't?
zabzonk:
If you want to discuss why the C and C++ languages are the way they are, this is not the place to do it. Try stackoverflow, or comp.lang.c++.
perento:
Ok thanks i just thought its from C::B
Navigation
[0] Message Index
[#] Next page
Go to full version