devxlogo

October 27, 2001

Be Careful with operator ==

A common mistake in C++ programming is typing = instead of ==. This can be due either to a typo error or because you are used to other languages such

Setting Breakpoints Programmatically

It is often useful to make a breakpoint by calling the DebugBreak function. However, this is not necessarily always convenient because the breakpoint will occur in DebugBreak call stack. You

Use the Generic Accessors Class

Generally, from an OOP perspective, the direct access to data members should be prevented. This is why we use accessors: Class UserDetails{public: string getUserName() const; void setUserName(const string& name); string