Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Operator<< question! ! !

#include<iostream.h>;
#include<assert.h>;

14.00 IntArray
{
Ostream& operator<< friend (ostream &os, const IntArray &rhs);
Istream& operator>;>; friend (istream &is, IntArray &rhs);
Public :
Explicit IntArray (int size = DefaultAraySize);
IntArray (int *aray, int array_size);
IntArray (const IntArray &rhs);
Private :
Int *ia;
Int _size;
Static const int DefauleArraySize;
}

Static const int DefauleArraySize = 10;

Ostream& operator<< (ostream &os, const IntArray http://download.chinaitlab.com/soft/6037.htm&rhs)
{
Os "" "" "" "_size" "" "; "
For (int index=0; index<_size; index++)
    {
Os "" ia[index] "" "";
    }
   
Y return
}
I suggest using the compiler compiler is wrong VC6.0
Binary 'operator ""' has too many parameters
"" 'Error in function decleartion skipping function body :
Why is my definition of true ah ah
I just learning to talk about all of this

Operator<< question! ! !

4003rd sorry I have just made a mistake
#include<iostream.h>;
#include<assert.h>;

14.00 IntArray
{
Ostream& operator<< friend (ostream &os, const IntArray &rhs);
Istream& operator>;>; friend (istream &is, IntArray &rhs);
Public :
Explicit IntArray (int size = DefaultAraySize);
IntArray (int *aray, int array_size);
IntArray (const IntArray &rhs);
Private :
Int *ia;
Int _size;
Static const int DefauleArraySize = 10;
}

Ostream& operator<< (ostream &os, const IntArray &rhs)
{
Os "" "" "" "_size" "" "; "
For (int index=0; index<_size; index++)
    {
Os "" ia[index] "" "";
    }
   
Y return
}
I suggest using the compiler compiler is wrong VC6.0
Binary 'operator ""' has too many parameters
"" 'Error in function decleartion skipping function body :
Why is my definition of true ah ah
I just learning to tell you this

Operator<< question! ! !

You Tomomoto function definition is wrong.
While you can directly access functions Tomomoto private membership category, it is not a member function without this, how can be applied to objects? You do not object which is directly targeted at members of the visit?
So. . . .
There are also certain that the problem is not spelling.
Best not to start using VC6.

Operator<< question! ! !

1. I always thought that this parameter of the target band in which the object Lane IntArray
But it seems I was wrong to say the book is the kind of talk
2. What if I do not VC6.0 more appropriate? !
Thank you!

Operator<< question! ! !

TOP 10 parameters of your transmission, according to your understanding, if not a member of the types of function parameters that would not have this? Yes, it is implied, but the show's not the case.
This is not the function and friend. What are the parameters and you have nothing to do.

Dev-C++ use your best. Or you or VC7.1. Net can be. . . .

Operator<< question! ! !

I received this usually appears well understood, there is a lot of problems on the plane!
Can this specific practice? !

Operator<< question! ! !

Read bar. Step by step useful?

Operator<< question! ! !

Not carefully read
Rhs._size
Rhs.ia[]
Read bar.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com