here's an idea:
the more experienced people here use this thread to compare ideas on when and how to comment and share their own styles of commenting and code organization.
i'll post mine after i get some responses...
Printable View
here's an idea:
the more experienced people here use this thread to compare ideas on when and how to comment and share their own styles of commenting and code organization.
i'll post mine after i get some responses...
Always use // instead of /**/.
When commenting out large areas of the code, perhaps when testing, the comments won't show up when viewed in a texteditor without syntax highlightning. (or for example this forum)
VC++ can comment and uncomment a selected area automatically.
gimme a keystroke for that. Didn't know that existed.Quote:
Originally posted by Sang-drax
VC++ can comment and uncomment a selected area automatically.
Excessive commenting is worse than too little imo.
In VC++.NET:
Ctrl+K, Ctrl+C
Ctrl+K, Ctrl+U
or
Edit->Advanced->(Un)Comment Selection
oh, you meant VC++ .NET.
no wonder I've never seen it.