News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Issue with block comment scopes

Started by perento, May 17, 2012, 09:28:45 PM

Previous topic - Next topic

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,
/* stuff */
but then i add another block of comment that i want the 'stuff' comment to be inside the new one, like this
/* <- start of top scope
...
/* stuff */ // <- top scope ends here
this area remain un-comented */ // <- usualy scopes should end here


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

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

perento

Thanks and sorry!
If C++ language gets updates, does those updates will be added in Code::Blocks? Or the IDE just interact with the current state of the language?

oBFusCATed

Re-read the link again and click on the compiler and linker links...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

perento

I think they will be added, anyway did answer my question. Tnx for reply all.

Great IDE