Hi,
My friends i need website I can download Turbo C++ software free downlaod.
thx
how to get the serial number of cpu(pII and pIII or K serials) and hard disk in c++ program?
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...
This is my program
******************
#include <iostream>
using namespace std;
int main()
{
int i = 0;
string message = "";
// message = the value of "i" converted to string...
How can I convert a standard string to an integer?
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 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,
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::...
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.
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
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'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...
Hello experts,
I am working on a matrix class for practice. I just added a inverse and transpose function, and have some questions about the class ? I would appreciate someone to give m...
how do you convert a int number into hex form
Where can I find a download site for Borland Turbo C++ 3.1? It's an old version a college course is using. (c) 1991, 1992 so a Win3.1 app, but working on Win2000. Thanks.
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?
I want a piece of function/code which will:
Read binary file which contains 0 chars also (so char array is not applicable).
So I think byte array should be used.
I want a piece of cod...
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 ...
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,...
I'm having issues find any example code on using std::replace. I have
looked and what I'm finding doesn't make a lot of since.
std::string szMyString = "";
..
..
szMyString.append("EX...
Hi,
Which header the Sleep() function is declared. I am trying to use
in a C file, but it gives me undefined sybmbol errors.
( Windows, Visual C++ )
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...
How do I convert a float into a string with a precision of 2?
Example:
float x = 1.235;
string s = ? // s contains "1.24" or "1.23", rounding doesn't matter