Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 In a statement variables should precide types
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - Feb 24 2004 :  04:41:06 AM  Show Profile
When I write something like this:
void CCtrlRelationRTHook::WindowProc(UINT msg, WPARAM wParam, LPARAM lParam)
{
if (lP

Writing lP gives a suggestion to LPARAM and not lParam. I think variables should precide types, specially inside a statement and not at the begining of a statement.
At the beginning of a statement types may overrule variables.

Just an idea.

Martin

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000