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!

 
Time Tested C++ Solutions: 101 - 125 of 6107
 
I have a table name which is of type RTString that I want to check if is empty or not. I know for instance that the String is empty because  ("print me[%s]", (char*) sourceTable); returns ...
Greetings All, I have a binary file that I need to read into a data structure, then insert into a SQL Server database.  There is no header in the file.  The binary file holds 496 records at...
hi ppl,   I need a code in "C programming" or in C++ to find a convex hull for a given set of points on a  2 dimentional plane. The input should contain a set of 15 points on a 2-D xy plane....
I am trying to catch a signal and am having problems with the handler.  I declared a static function to handle the signal, but I keep on getting this error: "Cannot declare member function ...
hi im making a little program that should simulate what items are in a fridge and so on. i have made 3 items that should be in it, and after that you should be able to add more. please remembe...
Hello! I want to create a simple Win32 Application... I coded some part of it... Now I have a problem... In my code I have this: #include "stdafx.h" ATOM                    MyRegisterClass(HINSTA...
I want to use the arrow keys in a program on a linux machine and am having trouble. I want be able to capture the key press or key presses if it's held down and the do something. for examp...
How can I get the Message description of an error returned from a call to WsaGetLastErorr (in run time)
See code below I have flight_status getting a random value in the function displaydac i would like to some how compare the flight_status array to a value....  if one of the values in ...
is there any way to change .exe file to cpp or c file?
I need a set of functions that are able to convert UTF-8 to UTF-16 and UTF-16 to UTF-8. I'm finishing up with an XML parser and have had nothing but problems when trying to write my own functi...
I need a C++ exit command similar to the java      System.exit(1); I have some void functions which are part of a class object that I want to terminate.
hi, I am using visual studio 6.0(with service pack 5) I need the functionalities of the psapi.h/psap.lib for my program but on search they are not on my computer . where can i download thes...
I need to write a program that uses both a C-string and a string data type.  I have the C-string type working but I'm not sure how to incorporate the string data type.  Can someone point me in...
I'm currently writting an application that needs to be able to export data to a Microsoft Excel spreadsheet. I've looked up and down through MSDN but havne't been able to find anything that is...
Connecting to a SQL database using ODBC in C++.  The SQLConnect(), function takes DSN name, username, and password strings as its params.  I have created a system DSN with a username and passw...
How can we write codes to create a folder in C++ programming to save our files into it? Any sample codes?
I am able to understand the infix to postfix, however I am having trouble with putting the parentheses back into the infix if I start with postfix. Have looked at possibility of using 2 sta...
need some code to run a programm from windows. e.g.: notepad.exe I am new to c++, so please give some code, heard about createProcess() but need a bit more advice.... some code snipp...
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...
I have been trying for the past 48 hours to get all the errors to go away and create a successful build of Ntop version 3.3.8 for Windows. I know nothing about windows compilers, I'm using the...
Hi, I've been trying to use the gslwrapper classes for a few hours now in Dev-C++, but when I compile I get the following errors: main_gslwrap.cpp:11: error: variable `gsl::matrix a' has...
Consider the following: enum model_name {   value1,   value2,   value3,   .   . } object_name; object_name apparently looks like a variable name.  If it is specified, what is it fo...
I am trying to change this to preemptive shortest job first, but I honestly just do not understand what to do. I know that I need to remove the quantum and determine the scheduling based on th...
I have a question about the randomize function in c++. I have a population of agents belonging to a class. When they are first constructed they are assigned some randomly generated values (say...