Author Topic: Issue with block comment scopes  (Read 2974 times)

Offline perento

  • Multiple posting newcomer
  • *
  • Posts: 47
Issue with block comment scopes
« on: May 17, 2012, 09:28:45 pm »
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: [Select]
/* stuff */but then i add another block of comment that i want the 'stuff' comment to be inside the new one, like this
Code: [Select]
/* <- 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

  • Guest
Re: Issue with block comment scopes
« Reply #1 on: May 17, 2012, 09:44:34 pm »
Neither C nor C++ support nested comments.

Offline perento

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: Issue with block comment scopes
« Reply #2 on: May 17, 2012, 09:50:17 pm »
Why so, they should be maded like scopes but seems they aren't?

zabzonk

  • Guest
Re: Issue with block comment scopes
« Reply #3 on: May 17, 2012, 09:56:42 pm »
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++.

Offline perento

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: Issue with block comment scopes
« Reply #4 on: May 17, 2012, 10:09:25 pm »
Ok thanks i just thought its from C::B

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12692
    • Travis build status
(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!]

Offline perento

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: Issue with block comment scopes
« Reply #6 on: May 18, 2012, 04:06:29 am »
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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12692
    • Travis build status
Re: Issue with block comment scopes
« Reply #7 on: May 18, 2012, 08:22:50 am »
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!]

Offline perento

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: Issue with block comment scopes
« Reply #8 on: May 18, 2012, 08:27:16 pm »
I think they will be added, anyway did answer my question. Tnx for reply all.

Great IDE