Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

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

 
Top C++ Solutions: 26 - 50 of 377
 
Hi expert, I search around the codes in MSDN but they are not very clear to me.  This is the first time I use MSXML. I would like a sample program to do the following (this can help me t...
Hello I have downloaded this code from the internet and I am trying to compile it. Howerver, I keep getting these 2 errors which I cannot seem to solve. Error C2491 StartNativeProcessin...
Hello experts, In my code sample below I have a class declaration to add data of unknown type to a file.  The data is passed in as a parameter, and the code will be multi-platform.  My questi...
Using VC++ 6.0,  I am using CDBVariant to grab a path from a database:      CDBVariant mVar;       recset->GetFieldValue(_T("series_path"), mVar, SQL_C_CHAR);      and then I want to use the MakeSu...
Hi, I'm trying to import some ole' C files into a cpp program and it just doesn't work :) I've got a main.c in which I define EXTERN_C as extern C. I've set the project in VC++ set to co...
Hi, I am working with SetTimer and KillTimer a lot, and this is the first time that I encunter this problem. I have a code inside Hook (SetWindowsHook) DLL. I am doing g_timer1=::SetTimer...
Hi, I have encountered some issues while trying to create an application using WS_EX_LAYERED style. I tested the issue on clean wizard-generated applications with VisualStudio2008 to exclu...
I need a formula to calculate distance in nautical miles and heading in degrees between two sets of lat/lons. Maximum distance to be traveled is 100 nautical miles All travel is in the Gul...
So I need to parse an int out of a line in a text file. The line will look like this: .i 3 The way I was doing it is searching for .i in the string, getting the index of .i. Then iterati...
I'm working on a piece of code that is intended to capture standard cout and cerr streams and redirect the output to anywhere I want. So what I want to do is to be able to write something like...
I have a DirectShow program written in MSVC++ that I use to play MKV files that are encoded using DivX.  Our customer would like to be able to play these videos backwards (basically, rewinding...
Hi, I have a console application which takes input parameters and returns text in the console window. How can I run the console application and retrieve the output in a gui application ...
I have two lines Line A is given a angle in radian The other line(Line B) has been given two end point. How do I know where Line A meets to line B when Line A it is extended towards to Line...
Hey folks, I'm just trying to fix our code where it violates strict-aliasing-rules. The goal is to be able to compile the with gcc-optimization level O2 at least. O2 activates the flag -fst...
I am getting an error for this: <cfset #TimeSpan# = DATEADD("n",#DateTimeEntered#,#DateTimeDepart#)> <cfset #TimeSpan2# = #DateFormat(TimeSpan,"dd hh:mm")#> Please help. I want to get t...
I''m a total newbie to C++/CLI and still a bit of a C++ newbie.  So, take three C++/CLI examples : String^ mDebugString; System::IO::StreamWriter^ logFile = gcnew System::IO::StreamWri...
I have some applications at work that I bought. They put information in the title bar, which we grab.  This is on XP.  There are two ways to do this.  One involves polling to see if the tit...
I am looking to make a program to figure the best route for delivery of packages, I have my own agenda this is just a small portion of it so we can stay on track for this. I will take in a num...
Hello, Please excuse my thickness... I appear to have lost my brain recently... :( The simple code below returns the size of the pointer, not the array - where am I going wrong? void myF...
This is my first attempt at using refrences All my brackets seem to be in place yet I can't compile I am going to include the .cpp file in the code Thanks in advance.    There is more to th...
My question is an exercise that has very error,  title: A student form and registration units myself method: //Please help me to complete it #incloude <iostream.h> #incloude <conio.h> ...
We moved our application from vs6 to vs2005.  I can run my app from the debugger as well as run stand alone on my development machine.   But on other machines, I get side-by-side errors.   One...
The attached code was extracted from somewhere in purpose to convert defined constants to char string, for writing trace log. The line with      static const char abc[] = #XXX; is leading me...
C++
Hi Expert I am looking at learning te basics of C++ where do i start? and how do i get to install,  if you need to install a  complier to practice writing the code or and i braking up the w...
I get the warning: [cpptasks:cc] xxxx\Client.cpp(896) : warning C4172 : returning address of local variable or temporary when returning the below coding for example. Why is this? Techni...