What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested C++ Solutions: 201 - 225 of 6107
 
How do I convert an integer to an array of 4 bytes, in little endian format? For example, the integer 36 (0x24) is converted to 0x24, 0x00, 0x00, 0x00. Another example: 0x01234567 -> 0x6...
We have a C++ application (TCP/IP communication software) which was written five years ago and was using ODBC 2.0/3.0 on Oracle 9i database. Now we are going to move it to Oracle 11g datab...
There's a lot of answers lying around for visual basic and C# regarding this but I need one for C++. Basically I am calling a function which passes by reference a VARIANT and an array of st...
AVL tree deletion algorithm I am trying to wrestle AVL tree deletion algoritm, and after going at it for 3 days, I figured I needed some help. This is not for homework, this is for my own ...
I needed a clever and efficient way to do a case insensitive comparison of std::string keys in a std::map. The map is used to match a string to an enum value. I wanted the keys to preserve the...
MAX_DOUBLE MAXDOUBLE ?? How can I find out what this number is in Visual Studio .NET?
    Dear Experts,   We decided to use crypto++ library to build the public key encryption with RSA to exchange the symmetric key to use with AES.  However, I getting a hard time getting th...
My requirements are to set up a data structure, and initially, i need to implement 5 vertices(nodes). If you can imagine a cross as I have tried to illustrate below, to be the data structur...
I'm trying to find the current of my executable without the file name and .exe at the end. I've been using GetCurrentPath() to find the entire path with the .exe but I only need the curren...
Is there a way to nest macro definitions? i.e.  #define SOMEMACRO(name, value)  #define (name) (value) So... SOMEMACRO(FRED, 6) would expand to #define FRED 6 And before anyone asks w...
Hi, here is my problem, i have a program that users call with the following command: dir /home/*.text | ./program basically, i pipe the output of dir into stdin. now i want to able...
Hi experts, just got a lil question, what would be required to draw a circle from 3 given points in a c++ program (console application, not a MFC or .NET form application) im using MS VC++ ...
I am using a third-party application whose GetGet function returns type _variant_t.  In their MFC examples, they use the code below to acquire the data from the function.  However, I am tryi...
I have used the following code for loading bitmap in my opengl window......It works  only for  one  bitmap file which I got it  from one website with the source code.......It is not working fo...
Hi experts, I was developing a graphics application in C++ Qt.  I need to create a screen with an image button which will disappear when I click on it. I wrote the code. Button is shown ...
I would like to draw in dos mode (comsole aplication), by chosing the coordinates of the pixel and specifying the color, I would like it to be in 24-bit color. If there was something as simple...
Hi, I am writing a C++ program on Visual C++ 2005. The program needs to compare the time of two sources, one is the packet capturing time returned from winpcap which is in timeval format. ...
I've been working on this program for a while, unfortunately I'm new to hashing and clueless as to where to go to figure out how to do any linear and quadratic probing for storing the data. ...
I have a little problem here. In C++ i create a process and after that i want to end (kill) it but for some reason i can't get this to work. Check my code down here and see what i already tr...
How big is stack memory in C++?  I need one of the following as an answer: 1. The stack is limited only by the system's available memory. 2. A way to detect the stack's size limit. I need...
I'm looking for example code that uses hash_map or any other hash template class. I'm also looking for a good example in which using hash_map makes a big difference versus using std::map. ...
Hi Experts, Does anyone know how to build OpenSSL with Visual C++ 2008? Thank you! Mike
I do not succeed to put the DWORD value in  a buffer in a way that the registery is well updated. tried with ostream but did not work. Do you have a written example of usage of RegSetValueEx ...
I am trying to create a calculator in C++  It works in a console window and allows the user to enter the first number, a second number and then an operator such as +, -, *, +.  It will then ...
Hi I have problem in how to copy an objects contents to another object. For example I have class base{         main() {                    base *p1=new base ();                    base *...