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: 1 - 25 of 3125
 
I need directions for creating a dynamic library in visual studio 2005, instead of a static library. The library should not necessary be conforming to the "COM" sta ndard the only demand is th...
How can I convert a standard string to an integer?
This is my program ****************** #include <iostream> using namespace std; int main() {    int i = 0;    string message = "";    // message = the value of "i" converted to string...
Hi, I have a linking problem after attempting to build the file. The error is as follows: glovenew.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall vhtIOConn::...
I saw the following structure in time.h which only has seconds as the smallest increment. struct tm {         int tm_sec;  // seconds after the minute - [0,59]         int tm_min;  // m...
Hi all, Is there a way to convert a string "ASCII" to its Decimal & hexadecimal value. For example "Hello this is a test" Hex: 48 65 6c 6c 6f 20 74 68 69 73 20 69 73 20 61 20 74 65...
I need something parallel to windows Sleep() in Linux.
Title explains it all ;) I want to convert a string like "ûüâäç" etc to UTF8 encoding... How can I do this with an easy C(++) function?
Hello I have the following code: #include <iostream.h> #include <fstream.h> #include <string> #include <iomanip> int length(const char* str) {      int length;      for (int i=0;str[i]!='\...
I'm getting this error at runtime: *** glibc detected *** double free or corruption (fasttop): 0x0804a008 *** Aborted This happens when an instance of one class encapsulates and assigns...
I know what it's for, but I never really use enum for anything, so here's my question: I am working on banking software.  I have a base class that has an account core type member.  It's an ...
Hi Experts I would like to have source code to find Inverse of N X N matrix either in C or in C++ Any algorithm can be used Crout's, Gaus' or finding co-factor Regards Shiju S N
how do you convert a int number into hex form
Here is my string:           A B(C)          D           I wrote a trim function that removes leading and trailing whitespace. After applying trim, I get a string like this: A B(C)          D I have problems deletin...
I have a problem trying to get CSV files to work with my program. It works fine with tab delimited but not with csv. Anyone know of a way to read in csv files and write back out to them.  The ...
Hi, My friends i need website I can download Turbo C++ software free downlaod. thx
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...
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,...
Hi all, Having an __int64 value representing a millisecond time since January 1, 1970, 00:00:00 GMT, how can I convert it into a string representation of format yyyyMMddHHmmssSSS (milliseco...
Can some one tell me where I can find a full list of the error codes returned by Winsock, when I try and send data via my socket I getr the following code : 4358532 can someone post a URL with...
Hi, I wanna know how to convert a string to int. char DataBuf[200]; int   Temperature; char TempStr[2]; TempStr[0] = DataBuf[100]; TempStr[1] = DataBuf[101]; How can I get Tempe...
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?
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 can we write codes to create a folder in C++ programming to save our files into it? Any sample codes?
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...