[code\]
int a=5;
if (a==7||6||5||4||3||2)
instead of doing
int a=5;
if (a==7||a==6||a==5||a==4||a==3||a==2)
[code/]
is this possible and if not how can you make it possible?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: Is this possible?Threaded View
|
Click Here to Expand Forum to Full Width |