2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

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

 
Top C++ Solutions: 76 - 100 of 384
 
Hi I want to capture a window and even another program is over it, I want to capture that window's image. Here is code I already have. I get lpRect like this: HWND hwnd = FindWindow...
Hi all, I need  a safe way to compare structures using memcmp for little endian platform (windows ).
I am having a problem with my function to delete all leaves from a binary tree.  The compiler gives me "error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'v...
Why is C++ better choice for embedded application if following is the concern: 1.  Software Protection 2.  Type Checking 3.  Code Re-use / Maintenance d.  Software Initialization
Hello, At the point of interest below, is there a way for the test method to find out if the object passed in is just an A class, or if it is also a X class? Thanks, Uni
I have two member functions of a class one is static and other is non-static. Is there any way to call non-static member function from static member function of the same class.
Any simple way to print (in the log file) the bool value to a string? Like if value = 1 (it is defined as boolean), then print it as true? Thanks.
I import models using lightwave and sometimes lightwave likes to give me a C:pathto/image.jpg for a texture, for example. This does not work overall, it needs to be changed from C:pathto/i...
I got the printAll function to print, but when the deleteNode function is called it isn't working, I need to delete a node and print out the link list with the node deleted. The link list prin...
The code is called on OnUpdate - it works well, when first time it is called. If I leave its dialog box open which is showing list of values for an item selection(using CListCtrlEx), and then ...
Hello Experts, Whilst there are pleanty of good examples out there for simpler sort algorithms, I have been unable to find good examples of heap sort and my C++ coding knowledge is not good...
say I have an int variable i and a string variable str, how can I append i to str?
Hi Experts Can some explain the following: Statement In addition to decimal numbers (those that all of us are used to use every day) C++ allows the use as literal constants of octal num...
Hi, I've been trying to write a wrapper class for an Xecerces based XML parser in order to try to avoid the usual newbie trick of spaghetti code. However, I've got a feeling it's going t...
Uurgh! When the net goes down so does any chances of getting some work done - feels like I've lost an arm! Anyways I'm trying to pass this into a method, although I seem to have tried every co...
What does this line do?    (char*&)colorBuffer += miny * stride; where (it would seem) colorBuffer is an int array, int[], and miny and stride are integers. From http://www.devmaster....
How do I take a vector of strings and copy each string into other string variables? something like: vector <string> file;   string s;  s.copy (file.begin(), file.begin().length());      ...
I followed instructions from http://www.experts-exchange.com/Programming/Editors_IDEs/C_CPP_CS/Visual_CPP/Q_23646856.html which works with the example. But when I copied the solutions into my ...
How to find Memory Leak in my project, we have IVRS project, using Dialog API's with VC6.0. My project is working fine, it is multithreaded App, but it shows  lot of leak so how to find memor...
I am trying to perform some pass-through SCSI programming on my Windows-based Tape susbystem.  I want to open the tape in read-only mode so I can issue some CDBs to it.  Everything works fine ...
Big time points to anyone who can help... I need to authenticate against an AD from C++, I can do it in c#, but a vendor needs it in C++ and I just can't get anything going.   Can anyone...
Let's say I've got a vector of vectors.... vector<vector<int> > myVector; If I know the size of the outer and inner vectors, what is the most efficient way to pre-allocate ? I'm also ...
If say that in my test.h file I define an interface for a method called getTest(int a) and I have another file test.cpp, but inside this test.cpp I did not provide any implementation for the g...
The simplified code is here: const string Amount = var_amount; And this var_amount is a double value. So of coure there is compiling error: "cannot convert from 'double' to 'class std:...
As far as I can tell from numerous search results, the correct way to define inheritance is :   class childname: protected parentname { //class data } Would anyone care to tell me why m...