-
Use of comments in C++
How many ways are there for putting comments in c++?
Is there any special cases to these?
-
Re: Use of comments in C++
Two that I know of:
// a commented line
/*
a commented block
*/
And you can't have a commented block (/*...*/) within another commented block.
-Patrick
"Peter Lin" <peterlin@engineer.com> wrote:
>
>How many ways are there for putting comments in c++?
>Is there any special cases to these?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|