Click here to Skip to main content
15,917,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Registry Pin
Alexander M.,16-May-04 1:19
Alexander M.,16-May-04 1:19 
GeneralRe: Registry Pin
mmfried16-May-04 1:36
mmfried16-May-04 1:36 
GeneralRe: Registry Pin
cmk16-May-04 10:18
cmk16-May-04 10:18 
GeneralSend data to Multiple objects Pin
Stan the man16-May-04 0:25
Stan the man16-May-04 0:25 
GeneralRe: Send data to Multiple objects Pin
Garth J Lancaster16-May-04 1:28
professionalGarth J Lancaster16-May-04 1:28 
GeneralRe: Send data to Multiple objects Pin
Kamyar Souri16-May-04 2:17
Kamyar Souri16-May-04 2:17 
GeneralRelational and Equality Operators Pin
Anonymous16-May-04 0:18
Anonymous16-May-04 0:18 
GeneralRe: Relational and Equality Operators Pin
toxcct16-May-04 0:45
toxcct16-May-04 0:45 
no, i can't see a simplest way to say that the numbers are in order...
or you write a generic function, but that is not the simple way you were looking for.
<font style="color:blue;">if </font>(nUserCode == 1) {
    <font style="color:blue;">if </font>((num1 > num2) && (num2 > num3) && (num3 > num4) && (num4 > num5)) {
        DoSomething();             <font style="color:green;">// Ascending order...</font>
    }
    <font style="color:blue;">else if </font>(nUserCode == 2) {
        <font style="color:blue;">if </font>((num1 < num2) && (num2 < num3) && (num3 < num4) && (num4 < num5)) {
            DoSomethingElse();     <font style="color:green;">// Descending order...</font>
        }
    }
}




TOXCCT >>> GEII power


GeneralRe: Relational and Equality Operators Pin
Anonymous16-May-04 0:57
Anonymous16-May-04 0:57 
GeneralRe: Relational and Equality Operators Pin
toxcct16-May-04 1:04
toxcct16-May-04 1:04 
GeneralRe: Relational and Equality Operators Pin
Kamyar Souri16-May-04 2:21
Kamyar Souri16-May-04 2:21 
Generalneed your suggestion about my domain Pin
includeh1015-May-04 23:49
includeh1015-May-04 23:49 
GeneralRe: need your suggestion about my domain Pin
alex.barylski16-May-04 2:53
alex.barylski16-May-04 2:53 
GeneralRe: need your suggestion about my domain Pin
includeh1017-May-04 8:47
includeh1017-May-04 8:47 
GeneralCString::Replace Pin
Anonymous15-May-04 19:21
Anonymous15-May-04 19:21 
GeneralRe: CString::Replace Pin
Michael Dunn15-May-04 20:03
sitebuilderMichael Dunn15-May-04 20:03 
GeneralRe: CString::Replace Pin
Anonymous15-May-04 20:32
Anonymous15-May-04 20:32 
GeneralRe: CString::Replace Pin
vividtang16-May-04 1:23
vividtang16-May-04 1:23 
GeneralUsing Math constants in vc++ 6 Pin
vikashparida15-May-04 19:06
vikashparida15-May-04 19:06 
GeneralRe: Using Math constants in vc++ 6 Pin
Maxwell Chen15-May-04 20:25
Maxwell Chen15-May-04 20:25 
GeneralRe: Using Math constants in vc++ 6 Pin
Kamyar Souri15-May-04 21:31
Kamyar Souri15-May-04 21:31 
GeneralRe: Using Math constants in vc++ 6 Pin
Alexander M.,16-May-04 1:20
Alexander M.,16-May-04 1:20 
GeneralRe: Using Math constants in vc++ 6 Pin
vikashparida16-May-04 19:46
vikashparida16-May-04 19:46 
Generaladd with carry instruction on Pentium family Pin
the Seeker15-May-04 16:47
the Seeker15-May-04 16:47 
GeneralRe: add with carry instruction on Pentium family Pin
Kamyar Souri15-May-04 21:22
Kamyar Souri15-May-04 21:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.