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: 101 - 125 of 384
 
Hi, I need to implement a BCH encoder and decoder in c++. Does anybody know where I can find some info about how to implement it? Or maybe some freely available code which performs the encodi...
I have a program in c++ that run a query in sql. I want to add start time before the query and end_time at the end of the query to see how much time it took to the DB to answer this query. I...
I had a int and indent add up the digits. Example 12345 will get me 1+2+3+4+5 = 10, but using the below code, I keep getting the wrong result. Can someone help please?
I'm going to start learning C++.  What do I need to get started?  I couldn't figure out if I just need a compiler or if there are web authoring programs like Eclipse for C++.  I plan to go pic...
I have the following code and error: error: no match for call to â(std::ofstream) (std::string&)â
I am fairly new with cpp and this destructor and assignment thing, I got the following error *** glibc detected *** ./vehicle: double free or corruption (out): 0x09a66160 *** all I did w...
Hi, I want to know interview questions for C++ Thanks in advance...
Hi, this should be a really simple question to answer. In C I can do something like: BYTE* module.. LoadLibrary(module) In C++ it won't let me because it ask for a filename. Is there any ...
Hi 1. At University we are using a C++ program (Pacman) we are using the values for across and down of a matrix as j & i. I look at wikipedia and they also use j & i, why is this. http...
I have a set of interfaces implemented as abstract base classes in my application.  Within my application interfaces are passed among some objects as parameters to keep the integrity of the AP...
how can you print in the same line in C++?? I usually do: std::cout <<  "some string" << std::endl; but it always prints on the same line
I am writting a JNI function for a c++ funtion that takes fn(a,b,c,...) variable arguments.  from JAVA, i pass a collection type and in native implementation i will get a native_fn(a,b,c, jobj...
I've got this in-memory data structure -- representing an on-disk file tree. Each file node should be searchable by either it's long name or it's 8.3 filename. And, it's perfectly OK to ha...
Hi I'm using this code: http://tmhare.mvps.org/downloads/vcam.zip If you check the code, you'll see: HRESULT CVCamStream::QueryInterface(REFIID riid, void **ppv) {       // Standa...
Hi I want to read all words in DOC and DOCX files in Pure C++. Preferably should not need Office 2003 or 2007 installed, but if needed (for example for COM usage) it's ok. Just point...
I would like to know which are the most common design patterns that an interviewer would be interested to discuss. I also request you to post some good references to understand Design Patterns...
I'm able to create and use dll in C++ using VS 2008 express edition successfully.But problem is I don't want to copy the DLL to the executabe's folder. My lib setup is perfect. If coping the...
At the moment I have a const char* filename, that stores the filename/filepath.. For example C:\backup\test\filename.lwo ... What I want to do is grab that and only get C:\backup\test\ fro...
Suppose that I want to define a class (B) that has semantics of a reference to another class A.  I also want to enable use of both const and non-const qualified instances of B.  How do I defin...
In recent thread http:Q_24720918.html, I made the statement that passing arguments 'by value' is safest before passing 'by const reference'. evilrix called that statement 'just not true', '...
Lets say I have this as a char: "abcdefghijklmnopq" I would want every 3rd character of this string, for example: "cfilo" would be the result, aka every 3rd character.  How could t...
Hello, I have the method below, thing is everything in the method other than the two lines indicated are common throughout many many other methods, is there a way I can this a little more a...
hey guys, im building a simple console app and i'd like to upgrade my little 'getline' function to also respond to the user pressing the escape key. i havent worked with c++ keyboard hooks ...
Hi all! As you know, many programs are written in C++. Some of these have fancy GUI with non-classical-Windows style ( think to Photoshop, 3ds max, maya etc )..now my question is: how are they...
I'm using VC++ 6.0 and MFC, and running my small application on XP Pro and 2003 Server. The application is basically a file-viewer which takes a command line argument to load a file. I hav...