Click here to Skip to main content
15,910,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
charlieg14-Jan-05 6:03
charlieg14-Jan-05 6:03 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
David Crow14-Jan-05 9:07
David Crow14-Jan-05 9:07 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
alex.barylski14-Jan-05 18:26
alex.barylski14-Jan-05 18:26 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
Malcolm Smart15-Jan-05 7:36
Malcolm Smart15-Jan-05 7:36 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
Branislav14-Jan-05 22:16
Branislav14-Jan-05 22:16 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
Member 165528416-Jan-05 10:43
Member 165528416-Jan-05 10:43 
GeneralLoadBitmap results in Assertion at AfxMakeResourceHandle Pin
greekgoddj14-Jan-05 5:39
greekgoddj14-Jan-05 5:39 
GeneralRe: LoadBitmap results in Assertion at AfxMakeResourceHandle Pin
greekgoddj14-Jan-05 5:51
greekgoddj14-Jan-05 5:51 
GeneralRe: LoadBitmap results in Assertion at AfxMakeResourceHandle Pin
Chris Losinger14-Jan-05 12:25
professionalChris Losinger14-Jan-05 12:25 
GeneralRe: LoadBitmap results in Assertion at AfxMakeResourceHandle Pin
greekgoddj16-Jan-05 22:12
greekgoddj16-Jan-05 22:12 
GeneralRe: LoadBitmap results in Assertion at AfxMakeResourceHandle Pin
greekgoddj17-Jan-05 0:32
greekgoddj17-Jan-05 0:32 
GeneralCreating XML Schema in VS.NET... Pin
anderslundsgard14-Jan-05 4:39
anderslundsgard14-Jan-05 4:39 
GeneralCString cutting off my string Pin
Wheatbread14-Jan-05 4:21
Wheatbread14-Jan-05 4:21 
GeneralRe: CString cutting off my string Pin
Chris Losinger14-Jan-05 8:04
professionalChris Losinger14-Jan-05 8:04 
GeneralWeird <= operation Pin
alex120514-Jan-05 4:08
alex120514-Jan-05 4:08 
GeneralRe: Weird <= operation Pin
basementman14-Jan-05 4:24
basementman14-Jan-05 4:24 
Doubles are NOT precise numbers. They are approximate representations. Whenever you need to compare doubles (or check if zero), you need to do approximate math, using an acceptable number of precision digits to your app. An example is below:
BOOL IsDoubleZero(double dVal)
{
  if (dVal < 0.000001 && dVal > -0.000001)
    return TRUE;
 
  return FALSE;
}

BOOL AreDoublesEqual(double dVal1, double dVal2)
{
  doubld dDiff = dVal1 - dVal2;
  if (dDiff < 0.000001 && dDiff > -0.000001)
    return TRUE;
 
  return FALSE;
}


 onwards and upwards... 
GeneralRe: Weird &lt;= operation Pin
Malcolm Smart14-Jan-05 4:39
Malcolm Smart14-Jan-05 4:39 
GeneralRe: Weird &lt;= operation Pin
Ravi Bhavnani14-Jan-05 6:11
professionalRavi Bhavnani14-Jan-05 6:11 
GeneralRe: Weird &lt;= operation Pin
Malcolm Smart14-Jan-05 13:00
Malcolm Smart14-Jan-05 13:00 
GeneralRe: Weird &lt;= operation Pin
Ravi Bhavnani14-Jan-05 14:52
professionalRavi Bhavnani14-Jan-05 14:52 
GeneralRe: Weird &lt;= operation Pin
Anonymous17-Jan-05 15:26
Anonymous17-Jan-05 15:26 
GeneralRe: Weird &lt;= operation Pin
peterchen16-Jan-05 19:03
peterchen16-Jan-05 19:03 
QuestionHow to export Symbol from Win Static Library Pin
ashutosh_tripathi14-Jan-05 3:18
ashutosh_tripathi14-Jan-05 3:18 
AnswerRe: How to export Symbol from Win Static Library Pin
Martin Koorts14-Jan-05 3:44
Martin Koorts14-Jan-05 3:44 
GeneralRe: How to export Symbol from Win Static Library Pin
ashutosh_tripathi14-Jan-05 17:49
ashutosh_tripathi14-Jan-05 17:49 

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.