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

C / C++ / MFC

 
GeneralRe: VC++ Code to check whether an excel file is already open or not Pin
Madhu Nair13-May-09 19:35
Madhu Nair13-May-09 19:35 
QuestionRe: VC++ Code to check whether an excel file is already open or not Pin
David Crow11-May-09 9:20
David Crow11-May-09 9:20 
QuestionMAPIFindNext return 16 but there are email in Windows Mail. Pin
SNArruda11-May-09 4:42
SNArruda11-May-09 4:42 
QuestionHi Pin
Mohammadj11-May-09 3:39
Mohammadj11-May-09 3:39 
QuestionRe: Hi Pin
David Crow11-May-09 4:32
David Crow11-May-09 4:32 
AnswerRe: Hi Pin
Mohammadj11-May-09 9:06
Mohammadj11-May-09 9:06 
GeneralRe: Hi Pin
David Crow11-May-09 9:09
David Crow11-May-09 9:09 
GeneralRe: Hi Pin
Mohammadj11-May-09 9:15
Mohammadj11-May-09 9:15 
GeneralRe: Hi Pin
David Crow11-May-09 9:19
David Crow11-May-09 9:19 
GeneralRe: Hi Pin
Mohammadj11-May-09 9:21
Mohammadj11-May-09 9:21 
QuestionRe: Hi Pin
David Crow11-May-09 9:27
David Crow11-May-09 9:27 
AnswerRe: Hi Pin
Mohammadj11-May-09 9:28
Mohammadj11-May-09 9:28 
GeneralRe: Hi Pin
Mohammadj11-May-09 20:27
Mohammadj11-May-09 20:27 
GeneralRe: Hi Pin
Mohammadj11-May-09 23:54
Mohammadj11-May-09 23:54 
AnswerRe: Hi Pin
Mohammadj16-May-09 22:19
Mohammadj16-May-09 22:19 
QuestionRe: Hi Pin
David Crow18-May-09 3:25
David Crow18-May-09 3:25 
AnswerRe: Hi Pin
Mohammadj18-May-09 5:07
Mohammadj18-May-09 5:07 
GeneralRe: Hi Pin
David Crow18-May-09 5:10
David Crow18-May-09 5:10 
GeneralRe: Hi Pin
Mohammadj18-May-09 9:11
Mohammadj18-May-09 9:11 
GeneralRe: Hi Pin
David Crow18-May-09 9:22
David Crow18-May-09 9:22 
GeneralRe: Hi Pin
Mohammadj18-May-09 22:01
Mohammadj18-May-09 22:01 
QuestionRe: Hi Pin
David Crow19-May-09 2:40
David Crow19-May-09 2:40 
AnswerRe: Hi Pin
Mohammadj20-May-09 22:24
Mohammadj20-May-09 22:24 
QuestionRe: Hi Pin
David Crow21-May-09 2:50
David Crow21-May-09 2:50 
QuestionBigNum Pin
AndreFratelli11-May-09 2:51
AndreFratelli11-May-09 2:51 
Hi there guys!

I wrote a BigNum class with two operations (addition and subtraction) and it consists of an array of integers. But lets suppose I read two numbers, with the following digit separation:

120 43 353 54 345
54 345 455 34 344

This is in base ten. Adding them together I get:

174 388 808 88 689

Which, obviously, is wrong. I used the standard addition algorithm, and it seems correct, so my question is: after "manipulating" the values, how can I print them correctly in base 10? Or do I need to keep a byte string with the digits and start from there?

Best regards

Fratelli

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.