Did you even bother to read and understand the code in the article I pointed you to 10 days ago? The changes I made to it (to have a two-sided button rather than an eight-sided button) took no more than three minutes.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
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?
Your "digit separation" does not make sense to me.
Looks like you forgot the carry (even though you say you used the standard addition algorithm)
Converting to base 10 is easy, but not trivial (you can not convert every integer to base 10 and then concat them, I hope you didn't even think of that as a possibility)
Unable to install platform SDK on Vista Operating System.
Each time a information bar is populated when i click on Default.htm file .
Is there any other way to Install Plateform SDK . I have used many hit and trial methods .
No I have not choose the Run As Administrator .
I am getting the information message as we usually get while allowing the pop ups from some websites. We normally Right Click on this bar and allow the popups by clicking on 'Temparorily allow the pop ups' . Due to this error the installation is not getting done. Previously i have installed platform SDK's but on Windows XP machine. But this times it seems to be a tough job.
I use wmi to enumerate all the services running from the system over a network, but in some machines it returns all the services running in them and in some machines it throws error, which i don't understand . Is there any security rights involved or some other type of constraints. Please help
“You will never be a leader unless you first learn to follow and be led.”
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
Hi to all, long time no see.
Recently I had to make some modification to my app. When I was done I've tried to rebuild the project but I've got numerous errors like:
- "d:\program files\microsoft platform sdk for windows server 2003 r2\include\shtypes.h(102) : error C2011: '_SHITEMID' : 'struct' type redefinition",
- "d:\program files\microsoft platform sdk for windows server 2003 r2\include\shtypes.h(120) : error C2011: '_ITEMIDLIST' : 'struct' type redefinition",
and so on ....
Now it may be I've downloaded other platforms or so could this be it or...?
How can I fix this?
Thanks in advanse.
VS6, WinXP SP3
I am using the following sorce code to display JPEG images in my Win CE application developed using eVC++ for a pocket PC device.
Actually i get a bitmap handle by using the above source code, i display this bitmap handle on my picture control.
Actually i am displaying the image with its original size, but i am not able to see the whole image as the size of screen of my WIN CE device is very small, so i want to display compressed image or display the image after reducing its size?
I read that skip list takes less time to insert a node than some other data structure (O(log n)). So I wonder why I need ~3 minutes to make the skip list above. And when I stop debugging, the program is still running!? I've just started studying programming, please help me!
Last Visit: 31-Dec-99 19:00 Last Update: 7-Feb-23 12:00