Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C++ Solutions: 201 - 225 of 7050
 
I am using Eclipse - CDT for a C++ application. I set the source path in the properties for PROJECT - C/C++ Project Paths - Source to the PROJECT folder where the sources are. In my Makefile I...
I'm looking for a simple example showing how to create a WebBrowser control - NOT using MFC. Ideally I would like a sample EXE that creates a main window which in turn contains the WebBrows...
Hi guys, I need to compose a C program that will read and write strings/data from the serial port. Does anyone know how to do this? Or better yet, have example code? Thanks!
How do you set an exponent to a number in C++?  
I have used the following code for loading bitmap in my opengl window......It works  only for  one  bitmap file which I got it  from one website with the source code.......It is not working fo...
Hi, I tried out __try and __finally in my codes and when i compile, i have the following error: Error C2712: Cannot use __try in functions that require object unwinding What does object unwin...
How do you get the UTC Unix Epoch time from the local epoch time (time(NULL))?  I could use gmtime, but that returns a tm structure, whereas I want a time_t structure returned.  Putting the re...
Hi,      I am doing Krushkal's algorithm implementation with the following program. There are 2 files airports.txt, flights.txt airports.txt contains(for example):- 3                    ...
Can someone direct me where functions that retrieve processor information (name, speed, type, usage percentage, etc) or computer information (operating system, hard drive space, etc)? Name all...
I am writing a Windows Service in unmanaged C++. I would like to program the executable to be able to install itself as a service. In order to do this, I need to be able to programatically get...
Does anybody know how to get screen size in Windows using c++ or MFC code? By size I mean current screen resolution in pixels.
Hello... I need to convert a IPv4 address into an equalent IPv6 address... Maybe something like "127.0.0.1" -> "abcd:ef12::3456:7890"... You can use the NET-Framework, but Windows API w...
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 need a listbox control that has multiple, variable width columns.  MSDN's documentation shows that the listbox control has a LBS_MULTICOLUMN style flag.  It even has messages you can send to...
MAX_DOUBLE MAXDOUBLE ?? How can I find out what this number is in Visual Studio .NET?
Given: string str = textbox1.Text Can you determine if the string is numeric in C# by doing something along the lines of: IsNumber(str) {    try    {       int.Parse(str)       ret...
I can make a socket listen on a port, but I don't know how to make it timeout if it doesn't recieve any data on that port within, say, 10 seconds. Does anyone know where I'm going wrong? ...
Hi, I have a large number of strings ( > 10 Millions ) that I need to map in assosiative container. I currently use STL Map, but find that insertion time is very costly. I am checkin...
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...
Hello Everybody!   I am a C++ developer .I just wanted to know some sites which provide free C++ practice tests online just to test my self. Thanx for ur help.
hi im looking for a way to convert a CString to a Hex (ex. This is a test = 54 68 69 73 20 69 73 20 61 20 74 65 73 74) im useing VC++ 6 sp 5 iv used string.Format("%02X",hex); but dont know w...
I just started using C++ Builder and I made my first application. When I run it on my PC it runs OK. When I run it on other computers I get the message "The applaication has failed to start be...
I can't seem to get the syntax right for the predicate function that I want to use to sort a list.  My example code that I thought should work is as follows: #pragma warning (disable:4786) ...
I need to declare some multidimensional arrays at runtime. I thought (mistakenly, of course) the easy way to do this was int* pIntMatrix; pIntMatrix = new int [iDimX][iDimY][iDimZ]; U...
I need to encode my data and decode so it can be stored in xml. Thanks, Dominik