comment out...

I understand that functionally it doesn't matter if you use \\comment or /* comment */. I believe one of them came from C (not sure though) and the other was a C++ implementation. Which is the C++ implemenation? Also, should one be used over the other or is it completely up to personal preference?
/* */ is C
// is C++

/* */ can span multiple lines
// cannot

When in C, use /* */
When in C++, use whichever you prefer.
Topic archived. No new replies allowed.