Enter Keywords:
1 - 10 of 136(0.008 seconds)
Sort By:
 
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...
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...
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]...
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...
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 ...
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...
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....
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;
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                  ...
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!"; ...
Zones: C++Date Answered: 12/03/2004 Rating: 8.4 Views: 0