This is the code I have.
// string2.cpp
#include <string.h>
#include <iostream.h>
#include <conio.h>
#include <stdio.h>
int main()
{
char string[80];
char *s0 = string;
char *s1;
int boundary...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10058352.html
Zones:
C++Date Answered: 06/18/1998 Rating: 6.6 Views: 0
Please look at the following code. There is no error handling, so please enter input carefully.
This program works fine for "01 30 2001", "03 30 2001" etc etc till "07 30 2001". But for "08 30 200...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20176580.html
Zones:
C++Date Answered: 09/01/2001 Rating: 5.8 Views: 0
Can someone pls explain this code? i know x doesnt do a thing...10 memory spaces is allocated to p; ...q=p,but we dont know what p is right?
thanx!
int x;
int *p;
int *q;
p=new int[10]...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20428343.html
Zones:
C++Date Answered: 12/17/2002 Rating: 7.6 Views: 0
/*
These are two standard algorithms of generating Fibonnaci (Fib) numbers, I was just learning them.
The problem is the program starts giving negative output after first 48 Fib numbers. Is t...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20564603.html
Zones:
C++,
...Date Answered: 12/27/2003 Rating: 6.6 Views: 0
Hi;
I'm working on migrating from VS 6 to vs.net. I did a hello world and CString isn't working?
----------code-------------
#include <iostream>
#include <afx.h>
using namespace std;
int ...
http://www.experts-exchange.com/Programming/Languages/.NET/Q_20584946.html
Zones:
.NETDate Answered: 04/15/2003 Rating: 9.8 Views: 0
#include<iostream.h> // using non standard C++ form
//
// if used this type
/*
#include<iostream>
using namespace std;
Gives an error
*/
class Base
{
private:
int a;
protected:
p...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20871708.html
Zones:
C++Date Answered: 03/10/2004 Rating: 8.4 Views: 0
Dear All,
Please can somebody assist with the following question.
After dabbling with C++ console mode for some time i thought i would try my hand at writing a simple program under Windows....
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20872962.html
Zones:
C++Date Answered: 02/04/2004 Rating: 9.4 Views: 4
I run the following line of code, the output is not zero. Why is that?
cout << 2.2-2-0.1-0.1 << endl;
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21137297.html
Zones:
C++Date Answered: 10/09/2004 Rating: 9.0 Views: 0
Experimenting with cout where it involves generating an ouput thats akin to:
1
2 1 2
3 2 1 2 3
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21176576.html
Zones:
C++Date Answered: 11/14/2004 Rating: 7.4 Views: 0
Hi,
cout is a class defined in iostream.h/ostream.h, right? But why when I use it I don't need to put the cout class into a variable like:
cout COUT;
and then:
COUT << "Hello world!";
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21221877.html
Zones:
C++Date Answered: 12/03/2004 Rating: 8.4 Views: 0