|
Hi,
Please tell me of sites where I can find an overview of Sequent Calculus. Also if you know some good books on this subject then let me know.
Thanks,
Mike.
|
|
|
|
|
I am calling an API function that returns an Integer. MSDN documentation states 'The only valid bits in the return value are those that correspond to the bits set in the mask parameter' How do I read these individual bit values.
Regards,
SAK
|
|
|
|
|
The API documentation probably has a list of values that can be ORed together to make the mask that you pass in as the mask parameter. To check if a bit is set, take the return value and AND it with the bit value you want.
ie
int ret = APIFunc(MASK1 | MASK2);
if (ret & MASK1)
{
}
etc.
---
The Center for Disease Control in Atlanta announced that Clinton has proven
that you can get sex from Aides.
|
|
|
|
|
An alternate solution that I have found useful when having to check a specific bit, like checking whether bit 29 in a 32 bit value is on or off, is using the std::bitset class.
std::bitset<32> keyBits;
if ( keyBits[29] == 1 ) { //bit 29 is set
//do something
}
|
|
|
|
|
I am trying to implement a linked list which will store large numbers(one digit in each node). I am not really familiar with the different math functions and was wondering what would be the easiest way to add and multiply some of these numbers. Thanks in advance for the help.
|
|
|
|
|
You mean big integers ?
Knuth has written a lot of algorithms for these type of integers. In fact they are the kernels of RSA cryptographic algortihms. I don't know if there are available libraries but you should read the following book to understand the theory behing those numbers:
"The art of computer programming. 2 : Seminumerical algorithms" / Donald E. Knuth
Jonathan de Halleux, Belgium.
|
|
|
|
|
Hello,
I want to write / find a program which dials to a given number wait till the anwering machine to answer, wait to the "beep" (online voice recognition) and play a recorded msg.
I'm searching for a week now for an already existing prog but all my searchings failed.
pls help me soon.
10x, tal.
|
|
|
|
|
Is there an existing class or library that allows your (MFC) app to work with file type associations? I know they are stored in the registry, but I am not quite sure how to properly set them, and have not been able to find documentation about this on MSDN. If there is not an existing class to do this, can someone explain how to set them directly in the registry? Or where I can find the information?
|
|
|
|
|
hi all
im using c++ and i need to check whether the computer is connected to the internet, without dialing to get the connection.
i hope someone can help me
dills
|
|
|
|
|
InternetCheckConnection(NULL, FLAG_ICC_FORCE_CONNECTION, 0) returns true if connection is available otherwise false.
|
|
|
|
|
hi all
im using c++ and i need to check whether the computer is connected to the internet, without dialing to get the connection.
i hope some can help me
dills
|
|
|
|
|
Hello,
I am trying to implement a bar like the outlook bar and want to insert drag and drop functionality in that bar. For example if you check the outlook bar you can move the 'contacts' to the end of the list of items in the bar i.e. drag contacts at the end of the list and drop it there. So is there any example that does a similar thing. Please let me know.
Thank you
vg
|
|
|
|
|
How could I intercept outgoing packets from a windows machine on a specified port? Would I need to go lower level than winsock?
|
|
|
|
|
i posted an articlein the win2000 / xp section about winsock hooking ! read it and leave me you impressions there !
be cool
//rate me or hate me
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
Please help me anyone.
I must write optimized version of applying filters to the image? but i don't know, hot to did it.
Dmitriy Golubev
|
|
|
|
|
Check Intel Image Library:
http://developer.intel.com/software/products/perflib/
Jonathan de Halleux, Belgium.
|
|
|
|
|
How I can put different pen styles (ps_solid,ps_dash,ps_dot) in ComboBox.
thanks.
|
|
|
|
|
Hi anyone know that code for comparing string in vb script
|
|
|
|
|
I am attempting to write a keylogger for my friend, and I know I will need to use hooks, but I dont know how to use them.
Can someone please help me?
"To wonder is to begin to understand"
|
|
|
|
|
I'm looking for a timeline object that can handle
multiple scheduals for project calander managment.
Does any one know if an object like the
listed above exists in any Com Builders assciated with
Visual Basic programming?
Rayman
|
|
|
|
|
I have opened and successfully read from a text file using CreateFile and ReadFile api's, but how can I close the file.
Thank you
|
|
|
|
|
CloseHandle
-c
------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
|
|
|
|
|
Thank you for the information, much appreciated!
|
|
|
|
|
I assume you are developing in Win32. Use CloseHandle() to close the file.
The following is taken from the Win32 documentation for CreateFile() :
"Use the CloseHandle function to close an object handle returned by CreateFile."
Note that it is very important to call CloseHandle(). Otherwise, the handle table of your application will continue to grow and you will run out of memory in the long term.
After closing the handle, it is best to set the value of your handle variable to NULL so that you do not close the handle again. Closing a handle twice will raise an exception.
|
|
|
|
|
I am interested in using Windows SQL CE for skip pattern surveying and metric analysis of said data. I will need to drill down 4-8 query references in a PDA environment with speed being a very important issue (less than 1 sec lag between acceptance of option and drill down to next layer).
|
|
|
|