Already purchased the new Motorola Droid? We want to hear from you! Tell us what you think about it and Google's Android 2.0 software.

 

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

 
Time Tested C++ Solutions: 26 - 50 of 6107
 
I'm trying to decode either of the keys - ProductId or DigitalProductId - from the registry to get the Product Code needed to install Windows.  Both keys can be found here: HKEY_LOCAL_MACHI...
Today will be the first evening for an engineering class... I've already previewed tonight's lecture material that includes some sample C++ code. I took C++ ~10 years ago.   Haven't used it...
Hi All, I have to read text file which has data in following manner, 2345  zxc  123344 abchfdfdfdg I need to read fixed length and store same into variable, Say first 6 character, then nex...
is there anybody out there who can help me with this convertion thing in c/c++. example ascii = 164    to    char = ñ algo: 1. get a character from keyboard (using getch() which ret...
how to get the process name from the PID? (winapi C++ visual C++ 6.0) I need to translate process id (PID) to process name (such as "notepad.exe") any idea? ps execution speed is...
Using Dev-C++ 5 Beta 3: ---- #include <iostream.h> #include <conio.h> int main() {   gotoxy(1,1); // Not important where   cout << "Hello world."; } // end main() ---- Returns ...
I have problem again : Below is the code: #include <iostream> #include <string> using namespace std; char* day() {     char* days[7] = {"Sunday", "Monday", "Tuesday"};     return (...
I'm looking for any example code for UDP Sockets in C++, for Linux Platforms (not using winsock.h). For example, a very simple client/server application for Linux, that is using UDP sockets. M...
In most programming languages, arithmetic expressions are written in infix notation (like a* b + c ). Many compilers first transform these infix expressions into postfix notation or RPN I h...
I have a string that is passed into a C function in a program i'm working on (not normally a C developer guy).  The string is a datastamp (i.e. 2008-08-06), and I need to convert it into "2008...
Hi experts: I use Turbo C++ 3.0 in Win 2K.I use command-line compile "tcc.exe" to compile my source code.But it can't be compiled completely.Error messages show that I don't set the path of I...
I'm having issues find any example code on using std::replace.   I have looked and what I'm finding doesn't make a lot of since. std::string szMyString = ""; .. .. szMyString.append("EX...
I've just started using a sinus and cosinus table for creating circles and for 3d/2d rotations. float SinusTable[360]; float CosinusTablep[360]; Well in fact I'm using fixed points, but...
Write a program that reads in a weight in pounds and ounces and putputs the equivalent weight in kilograms and grams.  Use at least three functions: one for input, one or more for calculating,...
I need a code sample of how to use the CreateThread Win32 function.
I plan to test a short complete NT SERVICE program as listed inside MSDN, but after installation in the NT Service, I cannot start it or debug in the console application, with  the error messa...
How do I remove an entry from an std::map knowing the entry's key?
i created a service. installed it i get an error 1063 when trying to start the service using StartServiceCtrlDispatcher(); what have i done wrong? see the my code below. thanks ef...
In opencv (windows), I want to switch from different cameras (I have 3 fire-i cameras). But it seems that it can only use cvCaptureFromCAM(0) or cvCaptureFromCAM(-1) to get the input. I...
Hello, I am trying to open a .raw image file stored on my hard drive in a C++ program to manipulate it. After opening the file, want to save its pixel information in a 2-D array. The imag...
Hi, I built a solution made of dialog based application and 2 dlls using visual 2005 c++. the application works fine on my computer but fail to run on other computer that does not have visua...
Homework: Given a 7 digit phone number input, determine the word possibilities.  Input will not use 0 or 1 since they have no letters associated so the phone number input cannot contain eit...
I have taken several intro to programming classes like Java, C and C++.  I have had to develop many console applications since I started these courses.  The one thing that I always hated was, ...
Hi, I would like to know if there is a better method to read from stdin than the current one I have. This is what I currently use: But the problem is, some very long strings seems ...
I'm using a function (part of mysql C api) which returns a char*, but I need a wchar_t*.  What is the best way to convert this?