Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! Let me know if you need help using the site or assistance with non-technical questions.

 
Top C++ Solutions: 1 - 25 of 388
 
Hiello All, Can we use a string in C++ switch case. Can I pass a string to switch, eg: switch ( input ) { Case ITEM_CRISPS:         printf("Walkers Cheese & Onion\n");         break; ...
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...
I have a class definition that goes something like the following.  In the constructor of derived classes, the structArr[] array needs to be initialized with an unknown number of structs, each ...
I wanted to make a C++ application send URL parameters over HTTP. pretty much I'm making a client application that would set up a remote session by passing http://remoteserver.com/get/?ip=67.2...
code below produces the error msg: 1>c:\users\daniel park\documents\visual studio 2008\projects\sim hw\sim hw\sim hw.cpp(54) : error C2668: 'pow' : ambiguous call to overloaded function 1...
I have done translation, scaling and rotation in my opengl objects......I want to know  about the difference between 1, object translation and coordinate translation 2,object scaling and coo...
I am developing SDI application which captures images from FireWire Camera. My problem is thread synchronization I think. When I read images from the camera and display them in one thread ev...
I've got a class "Dirs" which has a "Mkdir()" method.  Inside this method, I'm trying to call the system library function "mkdir(char *, mode_t)" as included from <sys/stat.h> and <sys/types.h...
Hi,  I have I DLL written in C++. In it is a function that returns a string. I want to call this function from VB6 but I am having some problems. I have an api for VB .NET: <DllImport("...
Hi Experts, I need to write a program that get image frame from a camera or webcam and process image. For webcam I can do by using DirectShow to get and capture the frame. But for a IP camer...
How do I declare a global variable inside a function? (so that it can be used by other functions)
Hello I created a UNICODE file my own in C++. An UNICODE file begin with 0xFF 0xFE and the other is text. UNICODE character is 2-byte; for ex. 'F' is 46 00 and end-line (Enter in text) is : 0...
Hello, I want to have a button (CButton or CBitmapButton) which contains a bitmap from resource. I also would like to place an icon on top of this button. For example, if this button will...
Below is the error I keep getting whenever I try to insert to my binary search tree. My code is attached as code.txt. What could possibly be causing the error? An unhandled exception of typ...
I have a struct that contains as one of its members a function pointer.  The message pump has an array of these structs and loops through it each time a message is received in a TCP port, exec...
I would like to create a script or something, i can use as a GUI to input data, that would be inputed into Excel. for example if i enter names into the GUI they are entered into excel. i have ...
Hi all: I'm using the gsoap library to make a C++ proxy in order to make calls to some WebServices in my C++ program. This gsoap library says that can be used with SSL, but in the document t...
I have some 2D maps in UTM coordinates( I got from Google earth)...How to convert the UTM coordinates into local opengl coordinates  to display the map in my graphics window? thank you...
How would I test if a series of coordinates are colinear i.e. on the same line, I do not have line segments to work with, because there is no class for it..
Hello, Please help me here. I have a function which is passing a TCHAR *key - this i need to do a comparison with a char *charstring. TCHAR *key; char *charstring; strcmp (key, ch...
Hi everyone, I have tried many times to compile C++ file using Borland C++,  but it gave me messages like unable to open include file "SDL.H" unable to open include file "SDL_GFXPRIMTIVES...
I'm looking to generate a random number between 1 and 64 and set that bit to a 1 in some sort of character type. Is there an easy way to do this or a website I could be directed to that would ...
I have developed a glut and glui APPLICATION IN  vc++ win32 console application under windows vista...... My application was working fine.....I had used glpng library in my application to d...
Hello folks, In the snippet I open a file and write values to it. Then I want to reopen the file and read each set of 3 values and store it into blue_pixel, green_pixel & red_pixel. Image s...
I was wondering how I would write a program that takes a text file containing a simple cipher, and then computes the letter frequency and displays it.  I'm new to C++, and not sure where to be...