Type: Posts; User: rdrast
Search took 0.01 seconds.
October 5th, 2010, 02:26 PM
Honestly, you shouldn't use ANY approximate data type (floating point) when dealing with money. Double's are still floating point numbers.
For any financial calculation, you should use a fixed...
December 16th, 2009, 02:04 PM
You don't have to make anything.
Just use your operating system.
December 10th, 2009, 10:16 AM
Also, for finding your min and max, you should (as you do) initialize max to 0, but you should initialize min to a number greater then the maximum permissible cost (score?).
As well, you probably...
December 9th, 2009, 09:04 AM
November 5th, 2009, 11:30 AM
You never assign anything to 'average'. It's just trash on the stack.
November 5th, 2009, 11:10 AM
That define is just idiotic, and will only cause hurt to you if you use constructs like that.
Make a function, you have examples.
float Volume_Sphere( float radius)
Do something with...
November 5th, 2009, 11:03 AM
Start with the hardware.
See here for examples.
October 27th, 2009, 11:22 AM
Use (or take a look at the source code of) wget. There is a Windows version.
October 26th, 2009, 09:23 AM
I don't know your program. It could be any dependency, that is not properly trapped.
For example, under Windows XP, the network might not actually be started until long after the user is logged...
October 22nd, 2009, 02:09 PM
Start Here... To get some ideas how rand() actually works and how to use it...
October 22nd, 2009, 02:06 PM
Well, first of all, you CAN NOT deploy any of the Debug libraries or DLL's, so start with a release build.
You might want to take a look at Innosetup - http://www.jrsoftware.org/isinfo.php
October 21st, 2009, 10:52 AM
You can at least get the source code for the player there.
October 21st, 2009, 08:26 AM
I like TinyXML myself, but generally I just use the ol' 'Ini' file format type thingy for configurations.
It's simple and easy to edit with any old text editor.
Writing configurations to the...
October 21st, 2009, 08:14 AM
Well, looks like:
0-499 miles, -> 1
500-999 miles -> 2
1000-1999 miles -> 3, etc.
Multiply your 'Weight Rate' by your 'shipping distance value' (1, 2, 3, ... above).
Show result. Done.
October 19th, 2009, 11:14 AM
No. The fact that it was 'Still Running' in the background implies that it has either crashed, or gotten into an infinite looping state. If it terminated properly, it would not still be 'running in...
October 19th, 2009, 11:09 AM
Wide open field there.
It could be anything from hardware, to cables, to configurations, to having 'Auto-negotiate' turned off somewhere to the protocol stack, to memory, to ... well, you get the...
October 6th, 2009, 03:02 PM
It shouldn't matter unless you have some weird dependancy, "Run" key registry entries "In General" start before the Startup Programs folder is processed, but that can by changed or bypassed.
October 6th, 2009, 02:45 PM
Uhhh, open a freemail disposable account somewhere? yahoo, hotmail, etc?
October 6th, 2009, 12:52 PM
Google, is, as usual, your friend.
October 6th, 2009, 12:42 PM
I just want to know how you are even attempting to "Run Java programs inside of C"...
What, you dropped your Java code into an editor window and tried to build it?
October 5th, 2009, 08:40 AM
That's not exactly creating your own file system though...
For your own FS, you would need to first come up with a physical storage method, including directories and allocations on disk, then write...
October 5th, 2009, 08:38 AM
I'd suggest you just glance through this tutorial on text editors...
September 15th, 2009, 02:11 PM
While that almost looks like a placement new (which I doubt you want) initially, what it is actually doing is tossing away your pointer to the:
and assigning pB to point to the...
September 10th, 2009, 11:57 AM
The Atari 2600 console system permitted an absolute maximum of 6KB in a ROM cartridge. Eventually that ceiling was broken to some degree by using bank switching in 4K blocks to swap in and out...
September 9th, 2009, 01:00 PM
Remember, that in the US, DST Start/End has become completely arbitrary, and at the mercy of the "Career Politicians" in DC primarily, and the "Career Politicians" locally in some few cases, where it...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.