Lim,
I do not blame printf function, which works fine.
As I pointed out, the difference consists between internal reprezentation of the two real number types.
Of course, you gave a more detailed answer which I admit I didn't know, but because printf function is really expects a double value for...
Do like this:
#include <stdio.h>
#include <string.h>
#include <memory.h>
#define WHOLE_LNG 60 //the length of the whole string
#define PART1_LNG 30 //the lenght of first part
#define PART2_LNG 30 //the lenght of second part
#define DELIMIT_SPACE 2 //indicates which space is considered...
Now, that you really wanted to know how rotation is done, i'll give you a reference:
http://www.penguin.cz/~literakl/intel/intel.html
which is the main page with Intel x86 Instruction Set
and specifically
http://www.penguin.cz/~literakl/intel/r.html#ROL
which is the exact instruction that...
The thing is simple:
When you use "%f" format, printf function expects a double value, not float. As ShowLine said above, float values are 32 bits long while doubles need 64 bits. This leads to a misinterpretation of float values.
Good luck!
Mai Nosferatu, below the input text box used to post messages there is a link named "Emoticons/Smileys".
BTW: let me know if you succeeded with your singleton class.
Picard Out B-)
Martin,
Search MSDN for words "hook win32". If you haven't yet installed this library, you can find the online version here: <a href="http://msdn.microsoft.com/">MSDN</a>
If you still can't find how enough information, give your mail address and I'll do some copy/paste 4 u...
I think I found a useful article in MSDN. I didn't check it very close... I hope will help.
HOWTO: Validate User Credentials on Microsoft WinNT and Win95
--------------------------------------------------------------------------------
The information in this article applies to:
Microsoft...
So, I see two ways to prevent situations like this, but each way is very complex, needs close attention and I wouldn't implement them LOL.
But if you really need to do this you have to 1. hook the functions that return a handle to a window (including WindowFromPoint ;-)), or 2. if you want to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.