Click here to Skip to main content
15,887,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sending messages to parent Pin
Danielle Schmitt19-Mar-08 6:33
Danielle Schmitt19-Mar-08 6:33 
GeneralRe: Sending messages to parent Pin
Danielle Schmitt19-Mar-08 6:37
Danielle Schmitt19-Mar-08 6:37 
GeneralRe: Sending messages to parent Pin
SandipG 19-Mar-08 8:33
SandipG 19-Mar-08 8:33 
QuestionBig numbers Pin
k_micak19-Mar-08 3:51
k_micak19-Mar-08 3:51 
GeneralRe: Big numbers Pin
CPallini19-Mar-08 4:13
mveCPallini19-Mar-08 4:13 
GeneralRe: Big numbers Pin
Maximilien19-Mar-08 5:37
Maximilien19-Mar-08 5:37 
GeneralRe: Big numbers Pin
CPallini19-Mar-08 5:56
mveCPallini19-Mar-08 5:56 
GeneralRe: Big numbers [modified] Pin
Chris Losinger19-Mar-08 10:22
professionalChris Losinger19-Mar-08 10:22 
without going to a bignum library, i'd try just duplicating the algorithm that you use when doing long division on paper:

     ________
1234 | 567890


ex:
5678 / 1234 = 4 with a remainder of 742. carry the remainder to the 9...
7429 / 1234 = 6 with a remainder of 250
250 / 1234 = 0
and now you've reached the decimal point, so the whole number part of the answer is 460, and you can do the rest with FP math.

as long as the divisor (1234) is in the integer range, you'll be OK, since all the other operations in the process will also be in that same range.


modified on Wednesday, March 19, 2008 5:08 PM

Questioncan anybody help me out [modified] Pin
philiptabraham19-Mar-08 3:36
philiptabraham19-Mar-08 3:36 
AnswerRe: can anybody help me out Pin
Reagan Conservative19-Mar-08 4:02
Reagan Conservative19-Mar-08 4:02 
GeneralRe: can anybody help me out Pin
philiptabraham19-Mar-08 5:00
philiptabraham19-Mar-08 5:00 
GeneralRe: can anybody help me out Pin
Reagan Conservative19-Mar-08 5:46
Reagan Conservative19-Mar-08 5:46 
GeneralRe: can anybody help me out Pin
David Crow19-Mar-08 5:50
David Crow19-Mar-08 5:50 
AnswerRe: can anybody help me out Pin
Joseph Marzbani19-Mar-08 4:53
Joseph Marzbani19-Mar-08 4:53 
QuestionShould I use DirectDraw ? Pin
Hanan88819-Mar-08 3:15
Hanan88819-Mar-08 3:15 
AnswerRe: Should I use DirectDraw ? Pin
led mike19-Mar-08 4:32
led mike19-Mar-08 4:32 
GeneralRe: Should I use DirectDraw ? Pin
Hanan88819-Mar-08 4:40
Hanan88819-Mar-08 4:40 
GeneralRe: Should I use DirectDraw ? Pin
led mike19-Mar-08 5:03
led mike19-Mar-08 5:03 
GeneralRe: Should I use DirectDraw ? Pin
Hanan88819-Mar-08 5:15
Hanan88819-Mar-08 5:15 
GeneralRe: Should I use DirectDraw ? Pin
led mike19-Mar-08 5:23
led mike19-Mar-08 5:23 
Generalwrite data from Visual C++ win32 console application to Microsoft Access using Visual Studio.NET 2005 Pin
Kogee San19-Mar-08 2:45
Kogee San19-Mar-08 2:45 
GeneralRe: write data from Visual C++ win32 console application to Microsoft Access using Visual Studio.NET 2005 Pin
Matthew Faithfull19-Mar-08 3:22
Matthew Faithfull19-Mar-08 3:22 
GeneralDragging the window Pin
Chandrasekharan P19-Mar-08 2:12
Chandrasekharan P19-Mar-08 2:12 
Generalwindows api to netstat Pin
vineeshV18-Mar-08 23:46
vineeshV18-Mar-08 23:46 
QuestionRe: windows api to netstat Pin
David Crow19-Mar-08 3:22
David Crow19-Mar-08 3: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.