Application Security Testing: An Integral Part of DevOps
For this reason it can be useful to insert comments like this
// Commented by Ilic On 31/7/00 CString Message; // Commented by Ilic On 31/7/00 Message.Format(_T("Useless message"));or this
// Moved to AnotherLibray MyClass *Ptr; // Moved to AnotherLibray Ptr->SolveAllMyProblems();This is possible with the included Macro. Comment is divided in three parts:
- the CommentType (//, ', # and so on), which was already beautifully mastered by Adam Solesby.
- The Comment itself, i.e. the sentence you want to be written near your commented code.
- The comment delimiter, which separates your sentence from the code. It is
set by default as a vTab, but you can change it to whatever you want,obtaining e.g.
// Moved to AnotherLibray --> MyClass *Ptr; // Moved to AnotherLibray --> Ptr->SolveAllMyProblems();