Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with mixed code of C and C++ Pin
Chris Losinger24-Jun-05 5:10
professionalChris Losinger24-Jun-05 5:10 
GeneralRe: Problem with mixed code of C and C++ Pin
Jose Lamas Rios24-Jun-05 9:04
Jose Lamas Rios24-Jun-05 9:04 
GeneralData Scaling Pin
sweep12324-Jun-05 3:36
sweep12324-Jun-05 3:36 
GeneralRe: Data Scaling Pin
Budric B.24-Jun-05 5:35
Budric B.24-Jun-05 5:35 
GeneralRe: Data Scaling Pin
Grahamfff24-Jun-05 9:11
Grahamfff24-Jun-05 9:11 
GeneralRe: Data Scaling Pin
liquid_24-Jun-05 9:12
liquid_24-Jun-05 9:12 
GeneralRe: Data Scaling Pin
Grahamfff25-Jun-05 0:03
Grahamfff25-Jun-05 0:03 
GeneralRe: Data Scaling Pin
liquid_26-Jun-05 9:55
liquid_26-Jun-05 9:55 
The formula I gave is the most appropriate for floating point arithmetic. It does work in all cases where you have to scale one set of values from an interval to another interval. In the case of integer values there is a matter of precision loss but at some level of accuracy it works as well. LSB converts from t (old) to v (new) as follows:

v=((q-p)/(s-r))*t

PS. If I understood you well...
Generalcasync socket Pin
_tasleem24-Jun-05 3:25
_tasleem24-Jun-05 3:25 
GeneralRe: casync socket Pin
Ravi Bhavnani24-Jun-05 4:44
professionalRavi Bhavnani24-Jun-05 4:44 
GeneralRe: casync socket Pin
Alexander M.,24-Jun-05 10:33
Alexander M.,24-Jun-05 10:33 
GeneralUnique number generation Pin
Hmmkk24-Jun-05 3:13
Hmmkk24-Jun-05 3:13 
GeneralRe: Unique number generation Pin
David Crow24-Jun-05 3:51
David Crow24-Jun-05 3:51 
GeneralRe: Unique number generation Pin
Hmmkk24-Jun-05 4:04
Hmmkk24-Jun-05 4:04 
QuestionMFC and Internet ?? Pin
Rookieee24-Jun-05 3:09
sussRookieee24-Jun-05 3:09 
AnswerRe: MFC and Internet ?? Pin
David Crow24-Jun-05 3:25
David Crow24-Jun-05 3:25 
AnswerRe: MFC and Internet ?? Pin
Ravi Bhavnani24-Jun-05 4:49
professionalRavi Bhavnani24-Jun-05 4:49 
GeneralRe: MFC and Internet ?? Pin
Eytukan24-Jun-05 5:29
Eytukan24-Jun-05 5:29 
GeneralRe: MFC and Internet ?? Pin
Smith#24-Jun-05 5:38
Smith#24-Jun-05 5:38 
GeneralRe: MFC and Internet ?? Pin
Eytukan24-Jun-05 5:40
Eytukan24-Jun-05 5:40 
GeneralRSA implementation Pin
T1TAN24-Jun-05 2:52
T1TAN24-Jun-05 2:52 
GeneralRe: RSA implementation Pin
Chris Losinger24-Jun-05 5:12
professionalChris Losinger24-Jun-05 5:12 
GeneralRe: RSA implementation Pin
Alexander M.,24-Jun-05 10:34
Alexander M.,24-Jun-05 10:34 
GeneralRe: RSA implementation Pin
T1TAN27-Jun-05 22:03
T1TAN27-Jun-05 22:03 
GeneralRe: RSA implementation Pin
T1TAN27-Jun-05 21:43
T1TAN27-Jun-05 21:43 

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.